Bitwise query operators

It would be VERY VERY helpful to have a set of bitwise operators/functions of n1ql fields, like ‘bits(All/Any)(Set/Clear)’.
This will allow to use advanced data access pattern live bloom filters and so on.

I’ve raised a feature request for this:

Thank you!

You’ve mentioned a Postgres bit string operations while others (SQL and Oracle) direct to numerical, I’m not sure which design your team will choose, but here’s the link to numerical in Postgres

Also, I would like to include a link to MongoDB functions as direct Couchbase competitor

Thank you, again!

1 Like