Documentation ¶
Index ¶
- func Apply[T any](f func(a sq.QueryModApply[T])) sq.QueryMod[T]
- func Columns[T any](names ...string) sq.QueryMod[T]
- func ColumnsC[T any](query string, args ...any) sq.QueryMod[T]
- func ColumnsE[T any](names ...litsql.Expression) sq.QueryMod[T]
- func CrossJoin[T any](table string) chain.Join[T]
- func CrossJoinE[T any](table litsql.Expression) chain.Join[T]
- func Distinct[T any](on ...string) sq.QueryMod[T]
- func DistinctE[T any](on ...litsql.Expression) sq.QueryMod[T]
- func Except[T any](q isq.Query[T]) sq.QueryMod[T]
- func ExceptAll[T any](q isq.Query[T]) sq.QueryMod[T]
- func From[T any](table string) chain.From[T]
- func FromE[T any](table litsql.Expression) chain.From[T]
- func FromQ[T, A any](q isq.Query[A]) chain.From[T]
- func FullJoin[T any](table string) chain.Join[T]
- func FullJoinE[T any](table litsql.Expression) chain.Join[T]
- func GroupBy[T any](columns ...string) chain.GroupBy[T]
- func GroupByE[T any](columns ...litsql.Expression) chain.GroupBy[T]
- func Having[T any](condition string) sq.QueryMod[T]
- func HavingC[T any](query string, args ...any) sq.QueryMod[T]
- func HavingE[T any](condition litsql.Expression) sq.QueryMod[T]
- func InnerJoin[T any](table string) chain.Join[T]
- func InnerJoinE[T any](table litsql.Expression) chain.Join[T]
- func Intersect[T any](q isq.Query[T]) sq.QueryMod[T]
- func IntersectAll[T any](q isq.Query[T]) sq.QueryMod[T]
- func LeftJoin[T any](table string) chain.Join[T]
- func LeftJoinE[T any](table litsql.Expression) chain.Join[T]
- func Limit[T any](count int) sq.QueryMod[T]
- func LimitA[T any](arg any) sq.QueryMod[T]
- func LimitAN[T any](argumentName string) sq.QueryMod[T]
- func LimitE[T any](count litsql.Expression) sq.QueryMod[T]
- func Offset[T any](count int) sq.QueryMod[T]
- func OffsetA[T any](arg any) sq.QueryMod[T]
- func OffsetAN[T any](argumentName string) sq.QueryMod[T]
- func OffsetE[T any](count litsql.Expression) sq.QueryMod[T]
- func OrderBy[T any](names ...string) sq.QueryMod[T]
- func OrderByE[T any](names ...litsql.Expression) sq.QueryMod[T]
- func RightJoin[T any](table string) chain.Join[T]
- func RightJoinE[T any](table litsql.Expression) chain.Join[T]
- func Select[T any](dialect litsql.Dialect, mods ...sq.QueryMod[T]) sq.Query[T]
- func StraightJoin[T any](table string) chain.Join[T]
- func StraightJoinE[T any](table litsql.Expression) chain.Join[T]
- func Union[T any](q isq.Query[T]) sq.QueryMod[T]
- func UnionAll[T any](q isq.Query[T]) sq.QueryMod[T]
- func Where[T any](condition string) sq.QueryMod[T]
- func WhereC[T any](query string, args ...any) sq.QueryMod[T]
- func WhereE[T any](condition litsql.Expression) sq.QueryMod[T]
- func Window[T any](name string) chain.Window[T]
- func With[T any](name string, columns ...string) chain.With[T]
- func WithE[T any](name string, columns ...litsql.Expression) chain.With[T]
- type SelectQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrossJoinE ¶
func CrossJoinE[T any](table litsql.Expression) chain.Join[T]
func InnerJoinE ¶
func InnerJoinE[T any](table litsql.Expression) chain.Join[T]
func RightJoinE ¶
func RightJoinE[T any](table litsql.Expression) chain.Join[T]
func StraightJoinE ¶
func StraightJoinE[T any](table litsql.Expression) chain.Join[T]
Types ¶
type SelectQuery ¶
type SelectQuery[T any] struct { *isq.DefaultQuery[T] }
Click to show internal directories.
Click to hide internal directories.