Skip to main content

Order

This category provides a set of examples for order features.

applyOrderFilter

applyOrderFilter is a method that applies pagination to a query.

API reference

query
.applyOrderFilter(
{
orderBy: [
{ field: 'createdAt', direction: 'asc', nulls: 'last' }
]
},
{ useDoubleQuotes: true }
)