Hi Luigi,
Thanks for the suggestion, but I was hoping to it using a query builder. I can write queries which have or,and with operator as "=" but if I need to do a "and","or" query with a mixed operators.
For example let's say i have student table with columns as age,name and i want to query
"select from student where (name = 'abc' and age > 20) or (name = 'pqr' and age > 22) "
How can i achieve this?
I tried db.select().from('student').or({"name":"abc","age":20},{"name":"pqr","age":40}) but this works fine and gives or query with all operator as equal to