Skip to content
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

How to specify a collation in a find query #238

Open
AdrienDS opened this issue Aug 15, 2018 · 3 comments
Open

How to specify a collation in a find query #238

AdrienDS opened this issue Aug 15, 2018 · 3 comments

Comments

@AdrienDS
Copy link

Is it possible to specify a collation on a find / find_one query: ( Ref & PyMongo ) with txmongo ?

That can be used along with a Case Insensitive Index to do a case-insensitive search without regexps

@IlyaSkriblovsky
Copy link
Contributor

Sorry for late answer. Unfortunately txmongo doesn't support collation queries yet. Collation is only permitted in new-style command-based MongoDB protocol while we are still using old-style 2.x one. So it isn't trivial to add collation support, although certainly possible and desired.

@AdrienDS
Copy link
Author

Thanks for your response ! Is a support of the new-style planned for any upcoming release ?

@IlyaSkriblovsky
Copy link
Contributor

I would love to see this feature in the next release, but development is going slow recently due to lack of spare time or developers (and because there are no new features required by the company I'm working for).
I've marked this issue as feature request, so we can recall it when we find time.

Anyways, your help is welcomed! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants