Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertConflictUpdate ¶ added in v0.9.1
type InsertConflictUpdate[T, UM any] interface { sq.QueryMod[T] Where(condition string) InsertConflictUpdate[T, UM] WhereExpr(condition litsql.Expression) InsertConflictUpdate[T, UM] WhereClause(query string, args ...any) InsertConflictUpdate[T, UM] DoNothing() InsertConflictUpdate[T, UM] DoUpdate(mods ...mod.InsertConflictUpdateMod[T, UM]) InsertConflictUpdate[T, UM] }
type Join ¶
type Join[T any] interface { sq.QueryMod[T] As(alias string, columns ...string) Join[T] Only() Join[T] Lateral() Join[T] WithOrdinality() Join[T] Natural() sq.QueryMod[T] On(on string) Join[T] OnExpr(on litsql.Expression) Join[T] OnClause(query string, args ...any) Join[T] Using(using ...string) Join[T] }
type Window ¶
type Window[T any] interface { sq.QueryMod[T] From(name string) Window[T] PartitionBy(condition ...string) Window[T] PartitionByExpr(condition ...litsql.Expression) Window[T] OrderBy(order ...string) Window[T] OrderByExpr(order ...litsql.Expression) Window[T] Range() Window[T] Rows() Window[T] Groups() Window[T] FromUnboundedPreceding() Window[T] FromPreceding(exp litsql.Expression) Window[T] FromCurrentRow() Window[T] FromFollowing(exp litsql.Expression) Window[T] ToPreceding(exp litsql.Expression) Window[T] ToCurrentRow(count int) Window[T] ToFollowing(exp litsql.Expression) Window[T] ToUnboundedFollowing() Window[T] ExcludeNoOthers() Window[T] ExcludeCurrentRow() Window[T] ExcludeGroup() Window[T] ExcludeTies() Window[T] }
type With ¶
type With[T any] interface { sq.QueryMod[T] Recursive() With[T] As(q litsql.Query) With[T] NotMaterialized() With[T] Materialized() With[T] SearchBreadth(setCol string, searchCols ...string) With[T] SearchDepth(setCol string, searchCols ...string) With[T] Cycle(set, using string, cols ...string) With[T] CycleValue(value, defaultVal any) With[T] }
Click to show internal directories.
Click to hide internal directories.