Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passing row_factory parameter to SQLite provider. #495

Open
wants to merge 2 commits into
base: orm
Choose a base branch
from

Commits on Mar 11, 2020

  1. Support passing row_factory parameter to SQLite provider.

    The sqlite3 driver allows for a row_factory parameter to connections
    that lets one set a factory function for result rows.  This change
    allows that parameter to be set when binding to a database so that one
    can, for instance, get namedtuples back instead of tuples with no field
    names.  (Passing in kwargs doesn't work because row_factory isn't a
    constructor parameter for sqlite.connect)
    tonycpsu committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    73079c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0823945 View commit details
    Browse the repository at this point in the history