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

all: switch internal API's to use driver.NamedValue instead of driver.Value #1068

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 26, 2021

  1. all: switch internal API's to use driver.NamedValue instead of driver…

    ….Value
    
    database/sql defaults to using the QueryContext and ExecContext API's.
    Previously, we would need to allocate in order to convert the driver.NamedValue
    parameter that each of those accepts to a driver.Value. By using
    driver.NamedValue consistently internally, we can save allocations and improve
    performance.
    
    See lib#1067 for a full set of benchmarks.
    kevinburke committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    289f214 View commit details
    Browse the repository at this point in the history