View Single Post
Old 03-07-2017, 05:25 AM   #209
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,423
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by BetterRed View Post
Devil's Advocate asks, "Why not? And could it be made so? And if not, why not?"
BR
Because they can run in places where there is no db, such as the command line tools on a system with no library.

@Terisa: All libraries have a unique id, independint fo the name.

db.new_api.library_id

Although, if I were you, I'd just not bother with configuration at all and just have it store the data in any custom column named #filename/#filepath. Then its up to the user to create such a column.
kovidgoyal is online now   Reply With Quote