We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a collection like this one:
[ { address: "a" }, { address: "b" }, { address: "A" }, { address: "B" }, { address: "c" }, { address: "D" }, ]
My query looks like this:
paginatedData, err := mongopagination.New(collection).Context(ctx). Limit(limit). Page(page). Filter(paginationFilter). Decode(&addresses). Sort("address", 1). Find()
I'd expect the following order in the response: a, A, b, B, c, D but in fact it is: A, B, D, a, b, c
How can I sort the elements in alphabetically order? Is there a way to set a "collation" or something else?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I have a collection like this one:
My query looks like this:
I'd expect the following order in the response: a, A, b, B, c, D
but in fact it is: A, B, D, a, b, c
How can I sort the elements in alphabetically order? Is there a way to set a "collation" or something else?
The text was updated successfully, but these errors were encountered: