idm

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 7 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 CrossJoin

func CrossJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]

func CrossJoinExpr added in v0.8.0

func CrossJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]

func Delete

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

func From

func From[T any](table string) sq.QueryMod[T]

func FullJoin

func FullJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]

func FullJoinExpr added in v0.8.0

func FullJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]

func InnerJoin

func InnerJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]

func InnerJoinExpr added in v0.8.0

func InnerJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]

func JoinExpr added in v0.11.0

func JoinExpr[T, CHAIN any](typ string, table litsql.Expression) *ichain.JoinChain[T, CHAIN]

func LeftJoin

func LeftJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]

func LeftJoinExpr added in v0.8.0

func LeftJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]

func Only

func Only[T any]() sq.QueryMod[T]

func RawQuery added in v0.8.1

func RawQuery[T any](rawQuery string, args ...any) sq.QueryMod[T]

func RawQueryExpr added in v0.8.1

func RawQueryExpr[T any](rawQuery litsql.Expression) sq.QueryMod[T]

func Returning

func Returning[T any](clauses ...string) sq.QueryMod[T]

func RightJoin

func RightJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]

func RightJoinExpr added in v0.8.0

func RightJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]

func StraightJoin

func StraightJoin[T, CHAIN any](table string) *ichain.JoinChain[T, CHAIN]

func StraightJoinExpr added in v0.8.0

func StraightJoinExpr[T, CHAIN any](table litsql.Expression) *ichain.JoinChain[T, CHAIN]

func Using

func Using[T, CHAIN any](table string) *ichain.FromChain[T, CHAIN]

func UsingExpr added in v0.8.0

func UsingExpr[T, CHAIN any](table litsql.Expression) *ichain.FromChain[T, CHAIN]

func UsingQuery added in v0.8.0

func UsingQuery[T, CHAIN, A any](q isq.Query[A]) *ichain.FromChain[T, CHAIN]

func Where

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

func WhereClause added in v0.8.0

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

func WhereExpr added in v0.8.0

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

func With

func With[T, CHAIN any](name string, columns ...string) *ichain.WithChain[T, CHAIN]

func WithExpr added in v0.8.0

func WithExpr[T, CHAIN any](name string, columns ...litsql.Expression) *ichain.WithChain[T, CHAIN]

Types

type DeleteQuery

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

Jump to

Keyboard shortcuts

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