View Single Post
Old 10-23-2024, 09:00 AM   #149
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: 12,332
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
23 Oct 2024 (in calibre preview 7.21)

New template binary operator inlist_field
  • inlist_field does the same as inlist except that the right-hand expression must evaluate to a field (column) name. This operator is much faster than inlist because it doesn't convert the field contents to a string. In addition, it works on fields that use a separator other than comma, for example authors. Note that the operator requires the field name not the value, so using $tags will not work. Example:
    Code:
    'foo$' inlist_field 'tags'

Last edited by chaley; 11-21-2024 at 10:12 AM.
chaley is offline   Reply With Quote