mirror of https://github.com/jackc/pgx.git
Add hstore to docs
parent
98853ea98f
commit
0a213e6474
|
@ -24,6 +24,7 @@ The pgx native interface supports the following extra features:
|
|||
* Logging support
|
||||
* Configurable connection pool with after connect hooks to do arbitrary connection setup
|
||||
* PostgreSQL array to Go slice mapping for integers, floats, and strings
|
||||
* Hstore support
|
||||
|
||||
## database/sql
|
||||
|
||||
|
|
6
doc.go
6
doc.go
|
@ -131,6 +131,12 @@ and the equivalent PostgreSQL array type. Go slices of native types do not
|
|||
support nulls, so if a PostgreSQL array that contains a slice is read into a
|
||||
native Go slice an error will occur.
|
||||
|
||||
Hstore Mapping
|
||||
|
||||
pgx includes an Hstore type and a NullHstore type. Hstore is simply a
|
||||
map[string]string and is preferred when the hstore contains no nulls. NullHstore
|
||||
follows the Null* pattern and supports null values.
|
||||
|
||||
Custom Type Support
|
||||
|
||||
pgx includes support for the common data types like integers, floats, strings,
|
||||
|
|
Loading…
Reference in New Issue