Bitwise operators in predicate with SwiftData

I have a model class with various status values that I would like to store in a single 64 bits integer. For example one bit for this boolean flag, 4 bits for that lookup value and so on. I tried to create a predicate containing bitwise operators to query specific bits but that seems impossible, no way no compile it. is there a way I am no aware of to accomplish this, some workaround or is that planned to be possible in future Swiftdata release? that would be a shame having to store a few status values of 4 or less bits each in different 64bits values, what a waste! Thanks

Tof

Bitwise operators in predicate with SwiftData
 
 
Q