Due to some noticed template magic in this
thread , I have a question to understand some detail. I tried to locate this in the calibre user manual, but was lost.
I have a query for finding books with extra files which works well:
Code:
template:"""program: if has_extra_files() then 'yes' else 'no' fi#@#:t:yes"""
In the above mentioned thread, I saw another template query for the same:
Code:
template:"""program: has_extra_files()#@#:b:yes"""
In my first example a "t" is used, while the 2nd uses a "b". I do understand that "b" is meant for "boolean", but what is the meaning of the "t"? And when using "b" instead of "t" in my first query template it does not work. Why?