using OR, AND Operator in [email protected]

183 Views Asked by At

I am working with deno and using denodb ORM and I am trying and looking at documentation from last couple of hours how to use ORM and after sometime I am stuck that how to query the following sql query using denodb ORM?

query:

SELECT COUNT(*) AS count from table WHERE field1 = 1 AND field2 = 2 OR field3 = 3

I am confused how to use OR, AND, etc Operator using this denodb package.

Thanks

1

There are 1 best solutions below

2
jsejcksn On

They are not implemented as of this time. See eveningkid/denodb#197.