Jack Christensen
302c74f214
Fix: do not silently ignore assign NULL to *string
...
AssignTo can only assign NULL to a **string. Previous code tried to
assign nil to a *string, which did nothing. Correct behavior is to
detect this as an error.
2018-09-01 18:40:42 -05:00
Jack Christensen
6688466123
Use Go casing convention for JSON(B)
2017-06-03 11:57:14 -05:00
Jack Christensen
a8c350c77d
Use pointer methods for all struct pgtypes
...
Now no need to no whether certain interfaces are implemented by struct or
pointer to struct.
2017-04-14 13:08:05 -05:00
Jack Christensen
f418255c24
Finish extraction of pgtype test helpers
2017-04-14 12:38:33 -05:00
Jack Christensen
57494a6a0f
Expand pgtype.Value interface
...
- Include and rename ConvertFrom to Set
- Add Get
- Include AssignTo
2017-03-11 19:53:45 -06:00
Jack Christensen
542eac08c6
Add json/jsonb to pgtype
2017-03-11 18:46:51 -06:00