Implement sorting #25

Open
opened 2026-08-22 15:06:03 +02:00 by c.fahner · 0 comments
Owner

Currently there is no mechanism for declaring sort clauses. This issue was pushed back from v0.1 due to PHP 8.6 introducing the SortDirection enum, which could be reused.

A Cursor\Sortable interface should be introduced which can be implemented by cursors, but also by upgrade or delete commands. The upgrade/delete command utility should also include a sort() method.

Currently there is no mechanism for declaring sort clauses. This issue was pushed back from v0.1 due to PHP 8.6 introducing the `SortDirection` enum, which could be reused. A `Cursor\Sortable` interface should be introduced which can be implemented by cursors, but also by upgrade or delete commands. The upgrade/delete command utility should also include a `sort()` method.
c.fahner added this to the v0.2 milestone 2026-08-22 15:06:03 +02:00
c.fahner removed this from the v0.2 milestone 2026-09-14 16:35:39 +02:00
c.fahner added this to the v0.3 milestone 2026-10-20 06:47:27 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
slendium/ocd#25
No description provided.