apsw

Reproduce pysqlite's row_factory on apsw

Reproduce pysqlite's row_factory on apsw Question: I have been trying to migrate away from pysqlite to apsw but I can’t find a way to reproduce its row_factory function. this is my original code: connection = sqlite3.connect(“db.db3”) connection.row_factory = sqlite3.Row cursor = connection.cursor() and I use it like this: query = “”” SELECT wbcode, Year, “””+query_name+””” …

Total answers: 2