type github.com/jackc/pgtype.JSONB
31 uses
github.com/jackc/pgtype (current package)
json.go#L49: case JSONB:
jsonb.go#L8: type JSONB JSON
jsonb.go#L10: func (dst *JSONB) Set(src interface{}) error {
jsonb.go#L14: func (dst JSONB) Get() interface{} {
jsonb.go#L18: func (src *JSONB) AssignTo(dst interface{}) error {
jsonb.go#L22: func (JSONB) PreferredResultFormat() int16 {
jsonb.go#L26: func (dst *JSONB) DecodeText(ci *ConnInfo, src []byte) error {
jsonb.go#L30: func (dst *JSONB) DecodeBinary(ci *ConnInfo, src []byte) error {
jsonb.go#L32: *dst = JSONB{Status: Null}
jsonb.go#L44: *dst = JSONB{Bytes: src[1:], Status: Present}
jsonb.go#L49: func (JSONB) PreferredParamFormat() int16 {
jsonb.go#L53: func (src JSONB) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
jsonb.go#L57: func (src JSONB) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
jsonb.go#L70: func (dst *JSONB) Scan(src interface{}) error {
jsonb.go#L75: func (src JSONB) Value() (driver.Value, error) {
jsonb.go#L79: func (src JSONB) MarshalJSON() ([]byte, error) {
jsonb.go#L83: func (dst *JSONB) UnmarshalJSON(b []byte) error {
jsonb_array.go#L15: Elements []JSONB
jsonb_array.go#L43: elements := make([]JSONB, len(value))
jsonb_array.go#L62: elements := make([]JSONB, len(value))
jsonb_array.go#L75: case []JSONB:
jsonb_array.go#L113: Elements: make([]JSONB, elementsLength),
jsonb_array.go#L130: dst.Elements = make([]JSONB, elementsLength)
jsonb_array.go#L320: var elements []JSONB
jsonb_array.go#L323: elements = make([]JSONB, len(uta.Elements))
jsonb_array.go#L326: var elem JSONB
jsonb_array.go#L367: elements := make([]JSONB, elementCount)
pgtype.go#L295: ci.RegisterDataType(DataType{Value: &JSONB{}, Name: "jsonb", OID: JSONBOID})
pgtype.go#L913: "jsonb": &JSONB{},
github.com/jackc/pgx/v4
values.go#L54: case *pgtype.JSONB:
github.com/jackc/pgx/v4/stdlib
sql.go#L618: var d pgtype.JSONB
 |
The pages are generated with Golds v0.3.2-preview. (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. |