Documentation ¶
Overview ¶
Package criteria implements a Criteria API based on Masterminds/squirrel
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type After ¶
func (After) MarshalJSON ¶
type All ¶
func (All) MarshalJSON ¶
type Any ¶
func (Any) MarshalJSON ¶
type Before ¶
func (Before) MarshalJSON ¶
type Criteria ¶
type Criteria struct { Expression Sort string Order string Limit int Offset int }
func (Criteria) MarshalJSON ¶
func (*Criteria) UnmarshalJSON ¶
type Expression ¶
type Gt ¶
func (Gt) MarshalJSON ¶
type InPlaylist ¶ added in v0.51.0
type InPlaylist map[string]interface{}
func (InPlaylist) MarshalJSON ¶ added in v0.51.0
func (ipl InPlaylist) MarshalJSON() ([]byte, error)
func (InPlaylist) ToSql ¶ added in v0.51.0
func (ipl InPlaylist) ToSql() (sql string, args []interface{}, err error)
type InTheRange ¶
type InTheRange map[string]interface{}
func (InTheRange) MarshalJSON ¶
func (itr InTheRange) MarshalJSON() ([]byte, error)
func (InTheRange) ToSql ¶
func (itr InTheRange) ToSql() (sql string, args []interface{}, err error)
type Is ¶
func (Is) MarshalJSON ¶
type IsNot ¶
func (IsNot) MarshalJSON ¶
type Lt ¶
func (Lt) MarshalJSON ¶
type NotContains ¶
type NotContains map[string]interface{}
func (NotContains) MarshalJSON ¶
func (nct NotContains) MarshalJSON() ([]byte, error)
func (NotContains) ToSql ¶
func (nct NotContains) ToSql() (sql string, args []interface{}, err error)
type NotInPlaylist ¶ added in v0.51.0
type NotInPlaylist map[string]interface{}
func (NotInPlaylist) MarshalJSON ¶ added in v0.51.0
func (ipl NotInPlaylist) MarshalJSON() ([]byte, error)
func (NotInPlaylist) ToSql ¶ added in v0.51.0
func (ipl NotInPlaylist) ToSql() (sql string, args []interface{}, err error)
type NotInTheLast ¶
type NotInTheLast map[string]interface{}
func (NotInTheLast) MarshalJSON ¶
func (nitl NotInTheLast) MarshalJSON() ([]byte, error)
func (NotInTheLast) ToSql ¶
func (nitl NotInTheLast) ToSql() (sql string, args []interface{}, err error)
type StartsWith ¶
type StartsWith map[string]interface{}
func (StartsWith) MarshalJSON ¶
func (sw StartsWith) MarshalJSON() ([]byte, error)
func (StartsWith) ToSql ¶
func (sw StartsWith) ToSql() (sql string, args []interface{}, err error)
Click to show internal directories.
Click to hide internal directories.