[Digikam-devel] extragear/graphics/digikam/libs/database

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu May 28 19:47:08 BST 2009


Thanks Andi. I am out of exercise with the database code ;-)
The query their is not old but just left over, I will remove it.
Btw I would have coded the statement like this:

SELECT count() FROM Images 
LEFT JOIN ImageInformation ON imageid == id 
WHERE Images.status== 1  AND ImageInformation.format='JPG';

Do you know pros and cons of either variant?

Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20090528/a265d426/attachment.html>


More information about the Digikam-devel mailing list