Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OIDToPgType ¶
OIDToPgType returns the corresponding postgres type for the provided OID. Results from Postgres queries can be scanned into the returned value. Beware that most, but not all returned types implement the sql.Scanner and pgtype.Value interfaces, you need to do a type assertion to be sure, otherwise use pgtype.Unknown. If the oid is unknown pgtype.Unknown is returned. nolint:gocyclo // this switch is intentional and can't be slimmed down
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.