Thread
:
beginner question
View Single Post
02-13-2013, 10:34 PM
#
2
kovidgoyal
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to get a database object and use one of the methods on that. Look in database2.py for the interface to the database. And assuming you are writing an interface action plugin, you get the database by self.gui.current_db
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS