Reputation: 6187
I'm using ORMan ORM library on my Android project.
How can I perform the following query:
SELECT * FROM table1 WHERE my_column is null
The point of difficulty is the is null part. I would to like to use the lib to build the query instead of put the SQL by hand.
Upvotes: 1
Views: 220
Reputation: 39397
you could always call
Query q = new Query("SELECT * FROM table1 WHERE my_column is null")
Else, I think C.custom("my_column is null") would do.
Upvotes: 1