Documentation ¶
Overview ¶
Code generated by "litsql-dialectgen"; DO NOT EDIT.
Code generated by "litsql-dialectgen"; DO NOT EDIT.
Index ¶
- func Apply(f func(a psql.SelectModApply)) psql.SelectMod
- func Columns(names ...string) psql.SelectMod
- func ColumnsClause(query string, args ...any) psql.SelectMod
- func ColumnsExpr(names ...litsql.Expression) psql.SelectMod
- func Distinct(on ...string) psql.SelectMod
- func DistinctExpr(on ...litsql.Expression) psql.SelectMod
- func Except(q psql.SelectQuery) psql.SelectMod
- func ExceptAll(q psql.SelectQuery) psql.SelectMod
- func Having(condition string) psql.SelectMod
- func HavingClause(query string, args ...any) psql.SelectMod
- func HavingExpr(condition litsql.Expression) psql.SelectMod
- func Intersect(q psql.SelectQuery) psql.SelectMod
- func IntersectAll(q psql.SelectQuery) psql.SelectMod
- func Limit(count int) psql.SelectMod
- func LimitArg(arg any) psql.SelectMod
- func LimitArgNamed(argumentName string) psql.SelectMod
- func LimitExpr(count litsql.Expression) psql.SelectMod
- func Offset(count int) psql.SelectMod
- func OffsetArg(arg any) psql.SelectMod
- func OffsetArgNamed(argumentName string) psql.SelectMod
- func OffsetExpr(count litsql.Expression) psql.SelectMod
- func OrderBy(names ...string) psql.SelectMod
- func OrderByExpr(names ...litsql.Expression) psql.SelectMod
- func Union(q psql.SelectQuery) psql.SelectMod
- func UnionAll(q psql.SelectQuery) psql.SelectMod
- func Where(condition string) psql.SelectMod
- func WhereClause(query string, args ...any) psql.SelectMod
- func WhereExpr(condition litsql.Expression) psql.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 ColumnsClause ¶ added in v0.8.0
ColumnsClause adds column names to SELECT queries.
func ColumnsExpr ¶ added in v0.8.0
func ColumnsExpr(names ...litsql.Expression) psql.SelectMod
ColumnsExpr adds column names to SELECT queries.
func DistinctExpr ¶ added in v0.8.0
func DistinctExpr(on ...litsql.Expression) psql.SelectMod
func HavingExpr ¶ added in v0.8.0
func HavingExpr(condition litsql.Expression) psql.SelectMod
func IntersectAll ¶
func IntersectAll(q psql.SelectQuery) psql.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) psql.SelectMod
func OrderByExpr ¶ added in v0.8.0
func OrderByExpr(names ...litsql.Expression) psql.SelectMod
Types ¶
type FromChain ¶
func FromExpr ¶ added in v0.8.0
func FromExpr(table litsql.Expression) FromChain
func FromQuery ¶ added in v0.8.0
func FromQuery(q psql.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.