Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions core/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,8 @@ Description | Strategy to set
Use the default behavior of the DBMS | `null`
Consider items as smallest | `ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter::NULLS_SMALLEST` (`nulls_smallest`)
Consider items as largest | `ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter::NULLS_LARGEST` (`nulls_largest`)
Order items always first | `ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter::NULLS_ALWAYS_FIRST` (`nulls_always_first`)
Order items always last | `ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter::NULLS_ALWAYS_LAST` (`nulls_always_last`)

For instance, treat entries with a property value of `null` as the smallest, with the following service definition:

Expand Down