package pgdialect
Import Path
github.com/uptrace/bun/dialect/pgdialect (on go.dev)
Dependency Relation
imports 18 packages, and imported by one package
Involved Source Files
append.go
array.go
array_parser.go
array_scan.go
dialect.go
scan.go
sqltype.go
unsafe.go
Package-Level Type Names (total 3, in which 2 are exported)
append schema.AppenderFunc
scan schema.ScannerFunc
v reflect.Value
(*T) AppendQuery(fmter schema.Formatter, b []byte) ([]byte, error)
(*T) Scan(src interface{}) error
(*T) Value() interface{}
*T : github.com/uptrace/bun/schema.QueryAppender
*T : database/sql.Scanner
func Array(vi interface{}) *ArrayValue
appenderMap sync.Map
features feature.Feature
scannerMap sync.Map
tables *schema.Tables
(*T) Append(fmter schema.Formatter, b []byte, v interface{}) []byte
(*T) Appender(typ reflect.Type) schema.AppenderFunc
(*T) Features() feature.Feature
(*T) FieldAppender(field *schema.Field) schema.AppenderFunc
(*T) IdentQuote() byte
(*T) Init(*sql.DB)
(*T) Name() dialect.Name
(*T) OnTable(table *schema.Table)
(*T) Scanner(typ reflect.Type) schema.ScannerFunc
(*T) Tables() *schema.Tables
(*T) onField(field *schema.Field)
*T : github.com/uptrace/bun/schema.Dialect
func New() *Dialect
Package-Level Functions (total 35, in which 2 are exported)
Array accepts a slice and returns a wrapper for working with PostgreSQL
array data type.
For struct fields you can use array tag:
Emails []string `bun:",array"`
Package-Level Variables (total 13, none are exported)
Package-Level Constants (total 16, none are exported)
![]() |
The pages are generated with Golds v0.3.6. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |