2
0

Simplify []byte scanning

This commit is contained in:
Jack Christensen
2017-03-18 14:42:36 -05:00
parent 015108be9a
commit 92cff1d961
7 changed files with 39 additions and 39 deletions
+1 -4
View File
@@ -169,10 +169,7 @@ and database/sql/driver.Valuer interfaces.
Raw Bytes Mapping
[]byte passed as arguments to Query, QueryRow, and Exec are passed unmodified
to PostgreSQL. In like manner, a *[]byte passed to Scan will be filled with
the raw bytes returned by PostgreSQL. This can be especially useful for reading
varchar, text, json, and jsonb values directly into a []byte and avoiding the
type conversion from string.
to PostgreSQL.
Transactions