Open
Description
Currently, there are no operators like bitAnd or bitOr.
The following is my usage in the Android Room framework, for example, feature & 0x0001 equals 0x0001
.
I want to use bitwise operators in where or order by clauses:
@Query("select * from note where isDeleted = 0 order by (feature & 0x0001) = 0x0001 desc, create_time desc")
fun notes(): List<Note>
Metadata
Metadata
Assignees
Labels
No labels