Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpEq = "=" OpIs = "is" OpIsNot = "is not" OpLike = "~" OPMemberOf = "MEMBER OF" OpNeq = "!=" OPNotMemberOf = "NOT MEMBER OF" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct { Groups []Filter `json:"groups"` Matches []FilterMatch `json:"matches"` Bool string `json:"bool"` }
type FilterMatch ¶
type Input ¶
type OrmQueryBuilder ¶
type OrmQueryBuilder struct {
// contains filtered or unexported fields
}
func NewOrmQueryBuilder ¶
func NewOrmQueryBuilder(metadata db_repo.Metadata) *OrmQueryBuilder
func (OrmQueryBuilder) Build ¶
func (qb OrmQueryBuilder) Build(inp *Input) (*db_repo.QueryBuilder, error)
type RawQueryBuilder ¶
type RawQueryBuilder struct {
// contains filtered or unexported fields
}
func NewRawQueryBuilder ¶
func NewRawQueryBuilder(metadata db_repo.Metadata) *RawQueryBuilder
func (RawQueryBuilder) Build ¶
func (qb RawQueryBuilder) Build(inp *Input) (*db.RawQueryBuilder, error)
Click to show internal directories.
Click to hide internal directories.