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 use Search Modifier “OR” in Sails.js using Waterline Adapter for Mongo #6353
Comments
Looks like there is an issue with |
Thanks for the confirmation of the bug. |
This works with |
is there any updates on this bug fix? I can write this using multiple finds for now to mimic the functionality, just am wondering where the bug fix is, and maybe if I can contribute in any way. |
Any updates about this? It's has been 2 months... |
Yeah, any updates? |
The real issue is located here: https://github.com/balderdashy/sails-mongo/issues/59 |
I worked it out last night and submitted the solution here: balderdashy/sails-mongo#70 |
This nasty OR bug exists in https://github.com/balderdashy/sails-postgresql in the 0.9.x branch (0.9.7 release). It isn't expanding the nested OR statement. |
The below code is written to fetch records containing "sometext" in either "name" or "description". This seems to be not working.
Can someone provide a correct way to implement "OR" searches
Side Note: "AND" function works. "OR" function is not working. sailsjs & sails-mongo version 0.94 is used.
The text was updated successfully, but these errors were encountered: