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?

No, unfortunately not. I guess adding a way to interact with the sql db 
directly would be helpful for some cases. But it's not there.

> --
> August Schwerdfeger
> [email protected]

Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to