Hi again, Quick question regarding the SelectResults code.
In the "count" method there is a assert line: def count(self): """ Counting elements of current select results """ assert not self.ops.get('limit'), "'limit' is meaningless with 'distinct'" <===== assert not (self.ops.get('distinct') and (self.ops.get('start') or self.ops.get('end'))), \ "distinct-counting of sliced objects is not supported" Is that that really right? Shouldn't it test for "distinct" also? And when limit is "sqlobject.sqlbuilder.NoDefault" it triggers, what's up with that? It only seems to allow count if limit=0!? Bug? Best Regards, Johan Carlsson ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss