Add example custom type
This commit is contained in:
@@ -145,7 +145,7 @@ added for additional types like point, hstore, numeric, etc. that do not have
|
||||
direct mappings in Go by the types implementing Scanner, TextEncoder, and
|
||||
optionally BinaryEncoder. To enable binary format for custom types, a prepared
|
||||
statement must be used and the field description of the returned field must have
|
||||
FormatCode set to BinaryFormatCode. See example_value_transcoder_test.go for an
|
||||
FormatCode set to BinaryFormatCode. See example_custom_type_test.go for an
|
||||
example of a custom type for the PostgreSQL point type.
|
||||
|
||||
### Null Mapping
|
||||
|
||||
Reference in New Issue
Block a user