Documentation ¶
Index ¶
Constants ¶
View Source
const ( Offset = "offset" Fulltext = "fulltext" Order = "order" Limit = "limit" )
View Source
const ( Asc = "asc" Desc = "desc" )
Variables ¶
View Source
var (
DefaultLimit = 20
)
View Source
var (
ErrorSliceValue = errors.New("value must be a slice")
)
Functions ¶
This section is empty.
Types ¶
type Mystiq ¶
type Mystiq interface { DB(db *quirk.DB, query Query) Mystiq Data(data []map[string]any) Mystiq GetAllFunc(fn func(param Param, t any) error) Mystiq GetOneFunc(fn func(name string, v any, t any) error) Mystiq GetManyFunc(fn func(name string, v any, t any) error) Mystiq GetAll(param Param, t any) error GetOne(name string, v any, t any) error GetMany(name string, v any, t any) error MustGetAll(param Param, t any) MustGetOne(name string, v any, t any) MustGetMany(name string, v any, t any) }
type OrderParam ¶
Click to show internal directories.
Click to hide internal directories.