Feature #3955
Implement limit and ordering for persistence queries
Status: | Resolved | Start date: | 2009-07-22 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Persistence | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 3 | |||
PHP Version: | Complexity: | |||
Has patch: |
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
History
#1 Updated by Bastian Waidelich about 6 years ago
Not sure, but I think "ordering" has a wrong meaning: http://dict.leo.org/?search=ordering
#2 Updated by Karsten Dambekalns about 6 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. :)
#3 Updated by Jochen Rau about 6 years ago
Maybe you want to port Extbase code ;-)
#4 Updated by Karsten Dambekalns about 6 years ago
- % Done changed from 0 to 50
#5 Updated by Karsten Dambekalns about 6 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.