Versions in this module Expand all Collapse all v1 v1.0.1 Sep 27, 2023 Changes in this version + func Column(col string) columnExpression + type Date time.Time + func (date *Date) GobDecode(b []byte) error + func (date *Date) Scan(value interface{}) (err error) + func (date *Date) UnmarshalJSON(b []byte) error + func (date Date) GobEncode() ([]byte, error) + func (date Date) GormDataType() string + func (date Date) MarshalJSON() ([]byte, error) + func (date Date) Value() (driver.Value, error) + type JSON json.RawMessage + func (JSON) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (JSON) GormDataType() string + func (j *JSON) Scan(value interface{}) error + func (j *JSON) UnmarshalJSON(b []byte) error + func (j JSON) MarshalJSON() ([]byte, error) + func (j JSON) String() string + func (j JSON) Value() (driver.Value, error) + func (js JSON) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + type JSONArrayExpression struct + func JSONArrayQuery(column string) *JSONArrayExpression + func (json *JSONArrayExpression) Build(builder clause.Builder) + func (json *JSONArrayExpression) Contains(value interface{}) *JSONArrayExpression + type JSONMap map[string]interface + func (JSONMap) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (jm JSONMap) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (m *JSONMap) Scan(val interface{}) error + func (m *JSONMap) UnmarshalJSON(b []byte) error + func (m JSONMap) GormDataType() string + func (m JSONMap) MarshalJSON() ([]byte, error) + func (m JSONMap) Value() (driver.Value, error) + type JSONOverlapsExpression struct + func JSONOverlaps(column clause.Expression, value string) *JSONOverlapsExpression + func (json *JSONOverlapsExpression) Build(builder clause.Builder) + type JSONQueryExpression struct + func JSONQuery(column string) *JSONQueryExpression + func (jsonQuery *JSONQueryExpression) Build(builder clause.Builder) + func (jsonQuery *JSONQueryExpression) Equals(value interface{}, keys ...string) *JSONQueryExpression + func (jsonQuery *JSONQueryExpression) Extract(path string) *JSONQueryExpression + func (jsonQuery *JSONQueryExpression) HasKey(keys ...string) *JSONQueryExpression + type JSONSetExpression struct + func JSONSet(column string) *JSONSetExpression + func (jsonSet *JSONSetExpression) Build(builder clause.Builder) + func (jsonSet *JSONSetExpression) Set(path string, value interface{}) *JSONSetExpression + type JSONSlice []T + func NewJSONSlice(s []T) JSONSlice[T] + func (JSONSlice[T]) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (JSONSlice[T]) GormDataType() string + func (j *JSONSlice[T]) Scan(value interface{}) error + func (j JSONSlice[T]) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (j JSONSlice[T]) Value() (driver.Value, error) + type JSONType struct + func NewJSONType(data T) JSONType[T] + func (JSONType[T]) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (JSONType[T]) GormDataType() string + func (j *JSONType[T]) Scan(value interface{}) error + func (j *JSONType[T]) UnmarshalJSON(b []byte) error + func (j JSONType[T]) Data() T + func (j JSONType[T]) MarshalJSON() ([]byte, error) + func (j JSONType[T]) Value() (driver.Value, error) + func (js JSONType[T]) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + type MapList []map[string]interface + func (MapList) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (m *MapList) Scan(val interface{}) error + func (m *MapList) UnmarshalJSON(b []byte) error + func (m MapList) GormDataType() string + func (m MapList) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (m MapList) MarshalJSON() ([]byte, error) + func (m MapList) Value() (driver.Value, error) + type StringList []string + func (StringList) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (l *StringList) Scan(value interface{}) error + func (l *StringList) UnmarshalJSON(b []byte) error + func (l StringList) GormDataType() string + func (l StringList) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (l StringList) MarshalJSON() ([]byte, error) + func (l StringList) Value() (driver.Value, error) + type Time time.Duration + func NewTime(hour, min, sec, nsec int) Time + func (Time) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Time) GormDataType() string + func (t *Time) Scan(src interface{}) error + func (t *Time) UnmarshalJSON(data []byte) error + func (t Time) MarshalJSON() ([]byte, error) + func (t Time) String() string + func (t Time) Value() (driver.Value, error) + type URL url.URL + func (URL) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (URL) GormDataType() string + func (u *URL) Scan(value interface{}) error + func (u *URL) String() string + func (u *URL) UnmarshalJSON(data []byte) error + func (u URL) MarshalJSON() ([]byte, error) + func (u URL) Value() (driver.Value, error)