Ticket #1009 (closed defect: fixed)

Opened 8 months ago

Last modified 8 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
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 8 months ago.
Patch against 0.11 RC2

Change History

Changed 8 months ago by Seldaek

Patch against 0.11 RC2

Changed 8 months ago by Seldaek

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

Changed 8 months ago by jwage

  • milestone changed from 0.11.2 to 0.11.0

Changed 8 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.