ism

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply added in v0.4.2

func Apply[T any](f func(a sq.QueryModApply[T])) sq.QueryMod[T]

func Columns

func Columns[T any](names ...string) sq.QueryMod[T]

func ColumnsE

func ColumnsE[T any](names ...litsql.Expression) sq.QueryMod[T]

func CrossJoin

func CrossJoin[T any](table string) chain.Join[T]

func CrossJoinE

func CrossJoinE[T any](table litsql.Expression) chain.Join[T]

func Distinct

func Distinct[T any](on ...string) sq.QueryMod[T]

func DistinctE

func DistinctE[T any](on ...litsql.Expression) sq.QueryMod[T]

func Except

func Except[T any](q isq.Query[T]) sq.QueryMod[T]

func ExceptAll

func ExceptAll[T any](q isq.Query[T]) sq.QueryMod[T]

func From

func From[T any](table string) chain.From[T]

func FromE

func FromE[T any](table litsql.Expression) chain.From[T]

func FromQ

func FromQ[T, A any](q isq.Query[A]) chain.From[T]

func FullJoin

func FullJoin[T any](table string) chain.Join[T]

func FullJoinE

func FullJoinE[T any](table litsql.Expression) chain.Join[T]

func GroupBy

func GroupBy[T any](columns ...string) chain.GroupBy[T]

func GroupByE

func GroupByE[T any](columns ...litsql.Expression) chain.GroupBy[T]

func Having

func Having[T any](condition string) sq.QueryMod[T]

func HavingC

func HavingC[T any](query string, args ...any) sq.QueryMod[T]

func HavingE

func HavingE[T any](condition litsql.Expression) sq.QueryMod[T]

func InnerJoin

func InnerJoin[T any](table string) chain.Join[T]

func InnerJoinE

func InnerJoinE[T any](table litsql.Expression) chain.Join[T]

func Intersect

func Intersect[T any](q isq.Query[T]) sq.QueryMod[T]

func IntersectAll

func IntersectAll[T any](q isq.Query[T]) sq.QueryMod[T]

func LeftJoin

func LeftJoin[T any](table string) chain.Join[T]

func LeftJoinE

func LeftJoinE[T any](table litsql.Expression) chain.Join[T]

func Limit

func Limit[T any](count int) sq.QueryMod[T]

func LimitA

func LimitA[T any](arg any) sq.QueryMod[T]

func LimitE

func LimitE[T any](count litsql.Expression) sq.QueryMod[T]

func Offset

func Offset[T any](count int) sq.QueryMod[T]

func OffsetA

func OffsetA[T any](arg any) sq.QueryMod[T]

func OffsetE

func OffsetE[T any](count litsql.Expression) sq.QueryMod[T]

func OrderBy

func OrderBy[T any](names ...string) sq.QueryMod[T]

func OrderByE

func OrderByE[T any](names ...litsql.Expression) sq.QueryMod[T]

func RightJoin

func RightJoin[T any](table string) chain.Join[T]

func RightJoinE

func RightJoinE[T any](table litsql.Expression) chain.Join[T]

func Select

func Select[T any](dialect litsql.Dialect, mods ...sq.QueryMod[T]) sq.Query[T]

func StraightJoin

func StraightJoin[T any](table string) chain.Join[T]

func StraightJoinE

func StraightJoinE[T any](table litsql.Expression) chain.Join[T]

func Union

func Union[T any](q isq.Query[T]) sq.QueryMod[T]

func UnionAll

func UnionAll[T any](q isq.Query[T]) sq.QueryMod[T]

func Where

func Where[T any](condition string) sq.QueryMod[T]

func WhereC

func WhereC[T any](query string, args ...any) sq.QueryMod[T]

func WhereE

func WhereE[T any](condition litsql.Expression) sq.QueryMod[T]

func Window

func Window[T any](name string) chain.Window[T]

func With

func With[T any](name string, columns ...string) chain.With[T]

func WithE

func WithE[T any](name string, columns ...litsql.Expression) chain.With[T]

Types

type SelectQuery

type SelectQuery[T any] struct {
	*isq.DefaultQuery[T]
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL