Browse Source

fix typo

tags/2.0.13
Carsten Brandt 7 years ago
parent
commit
f2e3312dbc
No known key found for this signature in database
GPG Key ID: BE4F41DE1DEEEED0
  1. 2
      docs/guide/db-migrations.md

2
docs/guide/db-migrations.md

@ -711,7 +711,7 @@ Below is the list of all these database accessing methods:
> ```php
> // update status field for all users
> foreach((new Query)->from('users')->each() as $user) {
> $this->update('users', ['status' => 1], ['id' => $user['id']);
> $this->update('users', ['status' => 1], ['id' => $user['id']]);
> }
> ```

Loading…
Cancel
Save