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

sync jmoiron/sqlx #1

Merged
merged 75 commits into from
Jun 13, 2018
Merged

sync jmoiron/sqlx #1

merged 75 commits into from
Jun 13, 2018

Conversation

andeya
Copy link
Owner

@andeya andeya commented Jun 13, 2018

No description provided.

Patrick Kohan and others added 30 commits January 11, 2015 17:48
better 'missing destination name' error message
JSONText & GzippedText are safe in 1.7
Don't ignore possible gzip error
Allows Go to read and write MySQL BIT(1) type as a bool. This allows you to use 1 bit for a MySQL boolean instead of 1 byte for the standard TINYINT.
Add type BitBool Scanner/Valuer for MySQL type BIT
Improve placeholder substitution documentation
Information about the Get() errors included in the documentation
The package-level function Get calls the interface method QueryRowx
which is expected to return *Row. Implementations of that interface
in another package can't possibly set the unexported rows field, so
it must be checked for nil before accessing it.
xiangtieyao and others added 29 commits March 15, 2017 14:06
[]byte is one of the driver.Value types, and should therefore not be expanded by `In`.
If the db open succeeds but the Ping() fails, close the
connection and return nil along with the error to prevent
resource leakage.

Fixes #366
sqlx.Connect: Close db connection if db.Ping() fails
Add and use TraversalsByNameFunc for zero allocation field traversal
… of []byte as the base type for Scanners; a test-only change that has all tests passing again
added support for the cloudsqlpostgres driver
[]byte should not be expanded by In
Add missing context enabled functions
As has checked v.Kind above, no need to use indirect to get the value
@andeya andeya merged commit 9b7b2d2 into andeya:master Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.