mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #2659 from tonitim13/bugfix/docs_model_update
Fix documentation bug. Modeling data / Using Codeigniter's model
This commit is contained in:
commit
10e64b3d35
@ -338,7 +338,7 @@ update command, with the added benefit of validation, events, etc::
|
||||
|
||||
$userModel
|
||||
->whereIn('id', [1,2,3])
|
||||
->set(['active' => 1]
|
||||
->set(['active' => 1])
|
||||
->update();
|
||||
|
||||
**save()**
|
||||
|
Loading…
x
Reference in New Issue
Block a user