Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FloatArray ¶
type FloatArray[T constraints.Float] []T
func (*FloatArray[T]) Scan ¶
func (d *FloatArray[T]) Scan(value interface{}) error
type JSON ¶
func (JSONB) ConvertValue(v any) (driver.Value, error) {
}
func (JSON) GormDataType ¶
type JSONArray ¶ added in v1.2.8
func (*JSONArray) GormDataType ¶ added in v1.2.8
type JSONArrayT ¶ added in v1.2.8
type JSONArrayT[T any] []T
func (*JSONArrayT[T]) GormDataType ¶ added in v1.2.8
func (*JSONArrayT[T]) GormDataType() string
func (*JSONArrayT[T]) Scan ¶ added in v1.2.8
func (j *JSONArrayT[T]) Scan(value interface{}) error
实现 sql.Scanner 接口,Scan 将 value 扫描至 Json
type JSONB ¶
type JSONB json.RawMessage
func (*JSONB) GormDataType ¶
type JSONStr ¶
type JSONStr string
func (*JSONStr) GormDataType ¶
type JSONT ¶ added in v1.2.8
type JSONT[T any] struct { JSON *T }
func (*JSONT[T]) GormDataType ¶ added in v1.2.8
type StringArray ¶
type StringArray []string
func (*StringArray) Scan ¶
func (d *StringArray) Scan(value interface{}) error
Click to show internal directories.
Click to hide internal directories.