Hallo August, you can use the utility sqlite3 to modifiy a sqlite database. Have a look at my database_statistics.lua script. http://www.multimedia4linux.de/images/darktable/plugins/ database_statistics-2.1.tar
Holger Am Freitag, 17. Februar 2017, 00:06:36 CET schrieb August Schwerdfeger: > I am trying to reimplement, using Darktable's Lua API, some parts of > my workflow that I had previously jury-rigged using external Python > scripts that modify the database directly. > > One of these tasks involves checking that there is no image in the > database with a given title. In my previous implementation, this could > be done with a simple database query, but it does not seem to be directly > supported in the Lua API. Is there any way to do this other than to > iterate over every single image in the database and check its title? > > -- > August Schwerdfeger > [email protected] > > ___________________________________________________________________________ > darktable developer mailing list > to unsubscribe send a mail to [email protected] ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to [email protected]
