On Thu, Jul 06, 2017 at 02:23:37PM +0200, Christoph Zwerschke wrote: > Am 05.07.2017 um 23:12 schrieb Justin Pryzby: > >I'm hoping for some feedback on this - if the interface seems okay and the > >implementation otherwise fine, I can clean up some by pulling > >out the duplicated code from queryGet/Dict/Result and queryNext().
> * We should also implement a __len__() method on the query object then. Could you elaborate on that ? I would like the idea of a standard function, returning its length, the same thing as ntuples(), but how would one call it ? It seems len() function only works for sequences and mappings. -- Justin Pryzby System Administrator Telsasoft +1-952-707-8581 _______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo.cgi/pygresql
