Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-30-2013, 11:20 PM   #1
diazlaz
Member
diazlaz began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Dec 2003
Device: Toshiba E755
bitwise operator search

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.
diazlaz is offline   Reply With Quote
Old 12-31-2013, 06:35 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,939
Karma: 7219261
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by diazlaz View Post
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)"
chaley is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Other Fiction Packard, Frank L: The Night Operator. V1. 24 May 2011 crutledge Kindle Books 0 05-24-2011 08:30 AM
Other Fiction Packard, Frank L: The Night Operator. V1. 24 May 2011 crutledge ePub Books 0 05-24-2011 08:28 AM
Other Fiction Packard, Frank L: The Night Operator. V1. 24 May 2011 crutledge BBeB/LRF Books 0 05-24-2011 08:27 AM
Forum operator sued for a wrongful username Alexander Turcic Lounge 8 06-12-2005 08:24 PM


All times are GMT -4. The time now is 07:34 PM.


MobileRead.com is a privately owned, operated and funded community.