Documentation ¶
Index ¶
- func Apply(f func(a mysql.SelectModApply)) mysql.SelectMod
- func Columns(names ...string) mysql.SelectMod
- func ColumnsClause(query string, args ...any) mysql.SelectMod
- func ColumnsExpr(names ...litsql.Expression) mysql.SelectMod
- func Distinct(on ...string) mysql.SelectMod
- func DistinctExpr(on ...litsql.Expression) mysql.SelectMod
- func Except(q mysql.SelectQuery) mysql.SelectMod
- func ExceptAll(q mysql.SelectQuery) mysql.SelectMod
- func Having(condition string) mysql.SelectMod
- func HavingClause(query string, args ...any) mysql.SelectMod
- func HavingExpr(condition litsql.Expression) mysql.SelectMod
- func Intersect(q mysql.SelectQuery) mysql.SelectMod
- func IntersectAll(q mysql.SelectQuery) mysql.SelectMod
- func Limit(count int) mysql.SelectMod
- func LimitArg(arg any) mysql.SelectMod
- func LimitArgNamed(argumentName string) mysql.SelectMod
- func LimitExpr(count litsql.Expression) mysql.SelectMod
- func Offset(count int) mysql.SelectMod
- func OffsetArg(arg any) mysql.SelectMod
- func OffsetArgNamed(argumentName string) mysql.SelectMod
- func OffsetExpr(count litsql.Expression) mysql.SelectMod
- func OrderBy(names ...string) mysql.SelectMod
- func OrderByExpr(names ...litsql.Expression) mysql.SelectMod
- func Union(q mysql.SelectQuery) mysql.SelectMod
- func UnionAll(q mysql.SelectQuery) mysql.SelectMod
- func Where(condition string) mysql.SelectMod
- func WhereClause(query string, args ...any) mysql.SelectMod
- func WhereExpr(condition litsql.Expression) mysql.SelectMod
- type FromChain
- type GroupByChain
- type JoinChain
- func CrossJoin(table string) JoinChain
- func CrossJoinExpr(table litsql.Expression) JoinChain
- func FullJoin(table string) JoinChain
- func FullJoinExpr(table litsql.Expression) JoinChain
- func InnerJoin(table string) JoinChain
- func InnerJoinExpr(table litsql.Expression) JoinChain
- func LeftJoin(table string) JoinChain
- func LeftJoinExpr(table litsql.Expression) JoinChain
- func RightJoin(table string) JoinChain
- func RightJoinExpr(table litsql.Expression) JoinChain
- func StraightJoin(table string) JoinChain
- func StraightJoinExpr(table litsql.Expression) JoinChain
- type WindowChain
- type WithChain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColumnsExpr ¶ added in v0.8.0
func ColumnsExpr(names ...litsql.Expression) mysql.SelectMod
func DistinctExpr ¶ added in v0.8.0
func DistinctExpr(on ...litsql.Expression) mysql.SelectMod
func HavingExpr ¶ added in v0.8.0
func HavingExpr(condition litsql.Expression) mysql.SelectMod
func IntersectAll ¶
func IntersectAll(q mysql.SelectQuery) mysql.SelectMod
func LimitArgNamed ¶ added in v0.8.0
func OffsetArgNamed ¶ added in v0.8.0
func OffsetExpr ¶ added in v0.8.0
func OffsetExpr(count litsql.Expression) mysql.SelectMod
func OrderByExpr ¶ added in v0.8.0
func OrderByExpr(names ...litsql.Expression) mysql.SelectMod
Types ¶
type FromChain ¶
func FromExpr ¶ added in v0.8.0
func FromExpr(table litsql.Expression) FromChain
func FromQquery ¶ added in v0.8.0
func FromQquery(q mysql.SelectQuery) FromChain
type GroupByChain ¶
func GroupBy ¶
func GroupBy(columns ...string) GroupByChain
func GroupByExpr ¶ added in v0.8.0
func GroupByExpr(columns ...litsql.Expression) GroupByChain
type JoinChain ¶
func CrossJoinExpr ¶ added in v0.8.0
func CrossJoinExpr(table litsql.Expression) JoinChain
func FullJoinExpr ¶ added in v0.8.0
func FullJoinExpr(table litsql.Expression) JoinChain
func InnerJoinExpr ¶ added in v0.8.0
func InnerJoinExpr(table litsql.Expression) JoinChain
func LeftJoinExpr ¶ added in v0.8.0
func LeftJoinExpr(table litsql.Expression) JoinChain
func RightJoinExpr ¶ added in v0.8.0
func RightJoinExpr(table litsql.Expression) JoinChain
func StraightJoin ¶
func StraightJoinExpr ¶ added in v0.8.0
func StraightJoinExpr(table litsql.Expression) JoinChain
type WindowChain ¶
func Window ¶
func Window(name string) WindowChain
Click to show internal directories.
Click to hide internal directories.