[KPhotoAlbum] Very experimental image-grouping patch

Tero Tilus tero at tilus.net
Wed Nov 28 22:18:09 CET 2007


2007-11-28 12:28, Jan Kundrat:
> You should also talk to Tuomas Suutari (Tuomas on IRC) about his SQL
> DB (which is probably very different and would require either an
> expensive lookup or storing both "children" and "parent" stuff in
> the SQL).

You can do it better than that in SQL db.  If it is a tree we are
talking about here, a "nested set" implementation does the job.

  http://dev.mysql.com/tech-resources/articles/hierarchical-data.html

-- 
Tero Tilus ## 050 3635 235 ## http://www.tilus.net/koti/tero/


More information about the KPhotoAlbum mailing list