Ticket #1425 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

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

Changed 10 months ago by jwage

  • milestone set to 1.0.1

Changed 10 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed

(In [4883]) fixes #1425

Note: See TracTickets for help on using tickets.