kaneda
kaneda

Reputation: 6187

How can to perform the following SQL query using the ORMan orm?

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

Answers (1)

njzk2
njzk2

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

Related Questions