[Digikam-devel] How to access the database from a script

Mikolaj Machowski mikmach at wp.pl
Tue Sep 5 17:51:46 BST 2006


Dnia wtorek, 5 września 2006 11:48, Pavol Murin napisał:
>  So, is it possible to access the database directly? I would like to
> use DCOP for it - I would like to apply the data to Digikam, not to
> SQLite. In amarok, there is a DCOP function "query" where you can use
> a sql query as parameter. That makes changing the database very easy.
> Is there something simillar in Digikam?
>
>  I would like to send queries to digikam, rather than SQLite, as if
> the database engine changes, the script stop working.

DCOP interface is rather limited. The only solution is to use sqlite3
command line utility. To inspect database you can use GUI in form of
sqlitebrowser.

m.




More information about the Digikam-devel mailing list