I need to have bitmask in database. 64 bit is enough. Most use cases SELECT ... WHERE ... AND mask & value > 0 ... There are exist special datatype: BI
SELECT ... WHERE ... AND mask & value > 0 ...
BI