#1425: Documentation references Query::delete() taking a parameter, when it
doesn't
-----------------------------------+----------------------------------------
Reporter: chorizo | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone:
Component: Documentation | Version: 1.0
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
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
?>
}}}
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1425>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---