Sorting using createdBy attribute #109
-
Is there a way to sort out a query by the attribute of Any suggestion or idea on how to add the setting/subquery to this statement:
|
Beta Was this translation helpful? Give feedback.
Answered by
muntasir-ifaz574
Mar 4, 2024
Replies: 1 comment
-
AlgoliaQuery _query = _algolia.instance |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MerNat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AlgoliaQuery _query = _algolia.instance
.index("text-index")
.setPage(startingKey!)
.setHitsPerPage(pageSize)
.setSettings({
'customRanking': ['desc(createdBy)']
});