Versions in this module Expand all Collapse all v0 v0.1.0 Mar 24, 2025 Changes in this version + func ExtractQueryParams(queryParams map[string][]string, skip ...string) map[string]interface + func MSSQLPlaceholder(position int) string + func MySQLPlaceholder(_ int) string + func OraclePlaceholder(position int) string + func PostgreSQLPlaceholder(position int) string + func RemoveOrderLimitOffset(sql string) string + func SetPlaceholderFormat(format func(int) string) + type BaseFilter struct + func (f *BaseFilter) Apply(query Query, inputs map[string]interface{}, withDefault bool) Query + func (f *BaseFilter) Default(query Query) Query + type Query struct + Args []interface{} + SQL string + func ApplyFilters(sql string, filterInstance QueryFilter, inputs map[string]interface{}, ...) Query + func BuildCountQuery(query Query) Query + func NewQuery(sql string, args ...interface{}) Query + func (q Query) GetSQL() (string, []interface{}) + func (q Query) GroupBy(fields ...string) Query + func (q Query) GroupWhere(fn func(Query) Query) Query + func (q Query) Having(condition string, args ...interface{}) Query + func (q Query) Join(table string, condition string) Query + func (q Query) LeftJoin(table string, condition string) Query + func (q Query) Limit(limit int) Query + func (q Query) Offset(offset int) Query + func (q Query) OrGroupWhere(fn func(Query) Query) Query + func (q Query) OrWhere(condition string, args ...interface{}) Query + func (q Query) OrWhereEqual(field string, value interface{}) Query + func (q Query) OrWhereILike(field string, pattern string) Query + func (q Query) OrWhereIn(field string, values ...interface{}) Query + func (q Query) OrWhereLike(field string, pattern string) Query + func (q Query) OrderBy(field string, direction string) Query + func (q Query) RightJoin(table string, condition string) Query + func (q Query) Where(condition string, args ...interface{}) Query + func (q Query) WhereEqual(field string, value interface{}) Query + func (q Query) WhereILike(field string, pattern string) Query + func (q Query) WhereIn(field string, values ...interface{}) Query + func (q Query) WhereLike(field string, pattern string) Query + func (q Query) WhereNotEqual(field string, value interface{}) Query + func (q Query) WhereNotIn(field string, values ...interface{}) Query + func (q Query) WhereNotNull(field string) Query + func (q Query) WhereNull(field string) Query + func (q Query) WhereRaw(condition string) Query + type QueryFilter interface + Apply func(query Query, inputs map[string]interface{}, withDefault bool) Query + Default func(query Query) Query