Are you referring to the template functions definition preference? If so, that box has access to the source of all the built-in template functions. It is hard to imagine better examples.
As for the "object model", the best documentation available is the calibre source.
FYI: template functions operate on a book-by-book basis. General queries are not possible. The only way to do the query you described is to write SQL directly against the database.
Are you referring to the template functions definition preference? If so, that box has access to the source of all the built-in template functions. It is hard to imagine better examples.
As for the "object model", the best documentation available is the calibre source.
FYI: template functions operate on a book-by-book basis. General queries are not possible. The only way to do the query you described is to write SQL directly against the database.