-
Notifications
You must be signed in to change notification settings - Fork 236
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
Add case insensitive indexes support #414
Comments
@angfal Pull requests are welcome. My experience with mongodb is somewhat limited, though your 2nd proposal sounds solid to me. If you're willing to make a PR with test coverage, I'll review it and help you land it. :) |
@kjdelisle Great! I will make the required fixes |
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. |
Please, somebody review my pr |
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. |
Additional info in the PR |
Add case insensitive indexes support
ok so how to use it within a query? |
Description
MongoDB allows to create and search by case insensitive indexes. The problem to support this feature it's required to execute separate "collation" function for a MongoDB cursor which is hidden by loopback and no way to receive access to it. As the result, no a reasonable way somehow wrap loopback functions to use such functionality via loopback.
Ideally, it would be great to add the support of this parameter for loopback MongoDB connector. For example using filter:
or using options (to not corrupt filter schema which common for all datasource)
Links:
The text was updated successfully, but these errors were encountered: