-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
Support MongoDB collation #4883
Comments
@oallouch we already added additional options for the queries like the read preference. Collation would be in the same style. Do you have any documentation from mongodb? |
Of course |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any news on this one ? |
hi @oallouch I got started on a related solution this past summer to solve what I think is a bad and annoying shortcoming of parse: usernames and emails are case-sensitive in a way that they shouldn't be (see: #3990). I haven't gotten the solution over the finish line, and your use-case may require us to rethink how I planned going about it. I'd love some help with finishing it (@dplewis :). But I haven't gotten any takers yet. |
Maybe all I need is an option parameter so that I can pass any mongo option to the native driver. |
@acinader Sorry dropped the ball on that one. I was waiting for you to right a test. @oallouch You are right. Feel free to open a PR. There are a lot of options like ReadPreference that get passed into mongo with the same style. We are here to help. I’ll assign this to myself but I wont be able to get to it for a while. |
@dplewis ok, I'll try when I have more time. |
I’ll race you lol. |
I just saw your response, which means you'll win :) |
Hi,
Being able to use collation with Parse.Query (as a param of find or aggregate for instance) would be great for case insensitive searches.
What do you think about it ?
For now, I'll use the rawCollection using the 'not so internal' Config :)
Thx,
Olivier
The text was updated successfully, but these errors were encountered: