View Single Post
Old 07-17-2016, 03:17 PM   #6
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,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by jackie_w View Post
@chaley,

Thanks for the info - I'll squirrel it away. At the moment I'm just interested in seeing what fields/methods are available for querying metadata for a single book in the database.
Take a look at get_metadata(), or my preferred method get_proxy_metadata(). These give you an MI object containing all the metadata for a given book, including custom columns. The "proxy" method is nice because it only fetches the metadata when you ask for it, something that can help with performance if you don't care about composite custom columns.
Quote:
P.S. Hope you're well. France seems to be having some bad times recently.
Thanks for the good wishes. Yes, we are. Yesterday for the first time my wife hesitated before going out to shop at the street market.

But then, so is the UK, what with brexit. I know I shouldn't get into this here, but BoJo as foreign secretary? Really? (No need to answer. )
chaley is offline   Reply With Quote