Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCustomType ¶
ParseCustomType parses a Postgres custom type retrieved from the database.
func QuoteAndEscapeRecordValue ¶
QuoteAndEscapeValue wraps escaped double quotes around single composite record values, and escapes specific special runes within the value. Composite record arrays line format looks like: {"(\"val1\",\"val2\")""} Escape code mostly copied from https://github.com/lib/pq/blob/master/encode.go#L160-L196
func QuoteString ¶
QuoteString wraps a string properly for use in a Postgres custom type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.