Documentation
¶
Index ¶
- func CreateMultiDimSlice(dims []int, elements []any) any
- func FormatPgArrayLiteral(arr any, castType string) string
- func IsJsonPgDataType(dataType string) bool
- func IsPgArrayColumnDataType(colDataType string) bool
- func IsPgArrayType(dbTypeName string) bool
- func SqlRowToPgTypesMap(rows *sql.Rows) (map[string]any, error)
- type PgxArray
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMultiDimSlice ¶
converts flat slice to multi-dimensional slice
func FormatPgArrayLiteral ¶
returns string in this form ARRAY[[a,b],[c,d]]
func IsJsonPgDataType ¶ added in v0.4.71
func IsPgArrayColumnDataType ¶ added in v0.4.67
func IsPgArrayType ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.