Closed zeitungen closed 10 years ago
Mysql adapter can do OR. I think you just pass the where conditions in as an array, but check the unit tests if it's not on the read me.
I don't find a test for OR condition or a test use an OR condition. @dgsan, if you have an example, I would like to see it, please. I'll make a pull request for add OR test, in future
https://github.com/jugglingdb/mysql-adapter/blob/master/test/basic-querying.test.js#L28
https://github.com/jugglingdb/mysql-adapter#using-or-and-in-operator
I don't know about other adapters or if it's applicable to you since I don't know what DB you're using.
Thanks.
At the moment, I work with sqlite3 but I hope to switch easily to others db with same features
Hello, I try to do query with OR into my conditions. The goal is to make some SQL (or the equivalent into nosql databases) query like (in basic case):
It's possible with jugglingdb ? If not, we could start discussion about how implement this feature ?
Thanks for your attention.