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

Add support for per per-query types #1825

Merged
merged 1 commit into from
Apr 16, 2019

Commits on Mar 7, 2019

  1. Add support for per per-query types

    The documentation states that you can pass custom type processors to
    query objects. See:
    
    https://node-postgres.com/features/queries#types
    
    This didn't actually work. This commit adds an initial implementation
    of per-query type-parsing. Caveats:
    
    * It does not work with pg-native. That would require a separate pull
      request to pg-native, and a rather significant change to how that
      library handles query results.
    
    * Per-query types do not "inherit" from types assigned to the Client,
      ala TypeOverrides.
    twooster committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    e585975 View commit details
    Browse the repository at this point in the history