Documentation ¶
Index ¶
- type JSONB
- func (JSONB) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (JSONB) GormDataType() string
- func (js JSONB) GormValue(ctx context.Context, db *gorm.DB) clause.Expr
- func (j JSONB) MarshalJSON() ([]byte, error)
- func (j *JSONB) Scan(value interface{}) error
- func (j JSONB) String() string
- func (j *JSONB) UnmarshalJSON(b []byte) error
- func (j JSONB) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONB ¶
type JSONB json.RawMessage
JSONB defined JSONB data type, need to implements driver.Valuer, sql.Scanner interface
func (JSONB) GormDBDataType ¶
GormDBDataType gorm db data type
func (JSONB) MarshalJSON ¶
MarshalJSON to output non base64 encoded []byte
func (*JSONB) UnmarshalJSON ¶
UnmarshalJSON to deserialize []byte
Click to show internal directories.
Click to hide internal directories.