Documentation ¶
Index ¶
- func GetArrayElementOID(ctx context.Context, conn Querier, oid uint32) (uint32, error)
- func GetCompositeFields(ctx context.Context, conn Querier, oid uint32) ([]pgtype.CompositeTypeField, error)
- func GetEnumMembers(ctx context.Context, conn Querier, oid uint32) ([]string, error)
- func LoadDataType(ctx context.Context, conn Querier, ci *pgtype.ConnInfo, typeName string) (pgtype.DataType, error)
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArrayElementOID ¶
func GetCompositeFields ¶
func GetCompositeFields(ctx context.Context, conn Querier, oid uint32) ([]pgtype.CompositeTypeField, error)
GetCompositeFields gets the fields of a composite type.
func GetEnumMembers ¶
GetEnumMembers gets the possible values of the enum by oid.
Types ¶
Click to show internal directories.
Click to hide internal directories.