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

Allow using custom Record class #599

Merged
merged 1 commit into from
Aug 15, 2020
Merged

Allow using custom Record class #599

merged 1 commit into from
Aug 15, 2020

Commits on Aug 15, 2020

  1. Allow using custom Record class

    Add the new `record_class` parameter to the `create_pool()` and
    `connect()` functions, as well as to the `cursor()`, `prepare()`,
    `fetch()` and `fetchrow()` connection methods.
    
    This not only allows adding custom functionality to the returned
    objects, but also assists with typing (see #577 for discussion).
    
    Fixes: #40.
    elprans committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    db4f1a6 View commit details
    Browse the repository at this point in the history