Feature #3955

Implement limit and ordering for persistence queries

Added by Karsten Dambekalns almost 4 years ago. Updated over 2 years ago.

Status:Resolved Start date:2009-07-22
Priority:Must have Due date:
Assignee:Karsten Dambekalns % Done:

100%

Category:Persistence
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 3
PHP Version: Complexity:
Has patch:
Votes: 0

Description

This needs to be possible:

return $query->matching($query->equals('blog', $blog))->setOrderings(array('date' => \F3\FLOW3\Persistence\QueryInterface::ORDER_ASCENDING))->setLimit($limit)->execute();


Related issues

blocked by TYPO3.TYPO3CR - Feature #3959: Implement limit and ordering for query object model Resolved 2009-07-22

History

Updated by Bastian Waidelich almost 4 years ago

Not sure, but I think "ordering" has a wrong meaning: http://dict.leo.org/?search=ordering

Updated by Karsten Dambekalns almost 4 years ago

Bastian Waidelich wrote:

Not sure, but I think "ordering" has a wrong meaning: http://dict.leo.org/?search=ordering

You might be right, but the term is from the JSR-283 spec, where one has an Ordering interface and methods like getOrderings

So, language issues aside, this is correct. :)

Updated by Jochen Rau almost 4 years ago

Maybe you want to port Extbase code ;-)

Updated by Karsten Dambekalns almost 4 years ago

  • % Done changed from 0 to 50

Updated by Karsten Dambekalns almost 4 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 50 to 100

This has been resolved yesterday, see #3959 for the associated commits.

Also available in: Atom PDF