Bitwise operator in SQLAlchemy

Viewed 5425

How would I write the following SQL query in SQLAlchemy involving a bitwise and?

select * from table where flags & 1 = 1;

Where table is the table name, and flags is the column name in that table.

1 Answers
Related