Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update multiple delete example in docs #503

Merged
merged 1 commit into from
Jan 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ object you can load/unload individual records (See Single record Operations belo
$m->load(8);
....

and even perform operations on multiple records (See Multiple record Operations below)::
and even perform operations on multiple records (See `Persistence Actions` below)::

$m = new User($db);
$m->addCondition('expired', true);

$m->deleteAll();
$m->action('delete')->execute();

When data is loaded from associated Persistence, it is automatically converted into
a native PHP type (such as DateTime object) through a process called Typecasting. Various
Expand Down