Lino Website

#40 : subclassable Reports

code changes

fixed test 19

Friday, 3. March 2006 04:08.

Uff: the last test has been fixed, the whole suite works again (first time since 20060213.

New test 80 shows why the row returned by a Query.peek() is not necessarily complete. New article Even for complex queries based on this test.

Query.find() failed if no arguments were given (meaning "no additional filter"). Renamed Query.find() to Query.filter().

New method SqlConnection.peekDump() (forwarded by center) returns (like stopDump()) the SQL statements issued so far, but (unlike stopDump()) continues to dump the connection.

The dump* methods are now also forwarded by DbSession. Case 80 failed if run together with some other test because DbSession.shutdown() fails to unregister its connection in center, so center._connections keeps unused Connection instances. This is a minor bug. I just won't use the center.*Dump() methods...

Store.query() without any argument now returns self._peekQuery instead of creating a useless Query instance.

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