Bitwise operator in fluent 4 query

Try to use fluent for SQL with bitwise operator. Something like:

SELECT * FROM Car WHERE (status & 1) > 0

I didn’t see any QueryBuild.filter method to do the bitwise operation. Any idea?

I got the answer from Discord.

filter(.sql(raw: “(status & 1) > 0”)

1 Like