Lino Website

Query.deleteAll()

Monday, 23. May 2005 17:10.

Explanation for Cannot find Directories row [1] (21.05.05): volume.directories.deleteAll() did not delete the files in each Directory because Direcories.Instance.delete() was not called.

Query.deleteAll() did simply:

self._connection.executeDeleteAll(self)

Solution:

for row in self:
    row.delete()

Copyright 2001-2007 Luc Saffre.
http://lino.saffre-rumma.ee
Generated 2007-06-07 16:22:28