apsw: Wrapping Results into a Key/Value dictionary
"Franz Buchinger" <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I decided to use apsw instead of pysqlite because of it's elegant dictionary bindings, which removes a lot of pain when creating long INSERT statements. Unfortunately there is no binding in the opposite direction, meaning when you SELECT data, there is no elegant way to build a result tuple/dictionary in the form result[row#][columnname] = value. As I want to pass on the resulting data to my template system, I am looking for a way to build such dictionaries for arbitrary tables/queries. Greetings, Franz _______________________________________________ pysqlite mailing list pysqlite-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/pysqlite