Re: Error using row object as args for a query
TiNo <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
> > Can I (easily) make a dict of a Row object, and therefore use named > > placeholders? > > Unfortunately not at the moment, you would need a custom function to > convert sqlite.Row objects to tuples or dictionaries. > You allready wrote it, in the usage guide... :-) http://initd.org/pub/software/pysqlite/doc/usage-guide.html#extensions-and-caveats under Connection class - row_factory Thanks a lot *ashamed for not looking better* TiNo _______________________________________________ pysqlite mailing list pysqlite-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/pysqlite