Ticket #1425 (closed defect: fixed)
Documentation references Query::delete() taking a parameter, when it doesn't
| Reported by: | chorizo | Owned by: | jwage |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0.1 |
| Component: | Documentation | Version: | 1.0.0 |
| Severity: | Keywords: | ||
| Cc: | Has Test: | no | |
| Status: | Pending Core Response | Has Patch: | no |
Description
Section 11.4, listing .15, should be:
<?php
$q = Doctrine_Query::create();
$rows = $q->delete()
->from('Account a')
->where('a.id > ?', 3)
->execute();
print $rows; // the number of affected rows
?>
Change History
Note: See
TracTickets for help on using
tickets.