Quote:
Originally Posted by diazlaz
HI All,
Is there a possibility in the search or advance search to utilize bitwise operators during a search in calibre. I' want to utilizing a integer field, and use bitwise operators to embed flags and able to search for the states.
Thanks!
Laz.
|
Nope, not supported.
I do wonder why you want to do it with integers. Wouldn't using a custom column "like tags" with the flags as strings do the same thing in a much more readable way? Something like "#state:=read and #state:=purchased" instead of "(state & (READ|PURCHASED)) == (READ|PURCHASED)"