Ticket #1009 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

Doctrine_Table::find() - automatically limit(1) the query

Reported by: Seldaek Owned by: jwage
Priority: minor Milestone: 0.11.0
Component: Other Version: 0.11.0
Severity: Keywords:
Cc: Has Test:
Status: Has Patch:

Description

The query generated by find() is only retrieving one item but does not have a LIMIT 1 statement, I found this old ticket about it that was closed two years ago but this is not fixed and I don't see a reason why it should not be added so I am reopening the issue, hopefully I am not creating noise.

Attachments

table-limit.patch (419 bytes) - added by Seldaek 14 months ago.
Patch against 0.11 RC2

Change History

Changed 14 months ago by Seldaek

Patch against 0.11 RC2

Changed 14 months ago by Seldaek

Forgot the old ticket link :  http://trac.phpdoctrine.org/ticket/78

Changed 14 months ago by jwage

  • milestone changed from 0.11.2 to 0.11.0

Changed 14 months ago by jwage

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

(In [4351]) fixes #1009 - Adding limit(1) to query in Doctrine_Table::find()

Note: See TracTickets for help on using tickets.