Documentation ¶
Index ¶
- Variables
- func And(expr ...string) litsql.Expression
- func AndE(expr ...litsql.Expression) litsql.Expression
- func Arg(value any) litsql.Expression
- func Args(values []any) []litsql.Expression
- func C(query string, args ...any) litsql.Expression
- func CastSlice[E litsql.Expression](list []E) []litsql.Expression
- func In(values ...any) litsql.Expression
- func InP(values ...any) litsql.Expression
- func J(exprs ...litsql.Expression) litsql.Expression
- func JS(sep string, exprs ...litsql.Expression) litsql.Expression
- func Or(expr ...string) litsql.Expression
- func OrE(expr ...litsql.Expression) litsql.Expression
- func Paren(expr ...string) litsql.Expression
- func ParenE(expr ...litsql.Expression) litsql.Expression
- func Quote(aa ...string) litsql.Expression
- func QuoteCheck(aa ...string) litsql.Expression
- func S(str string) litsql.Expression
- func SL(str []string) []litsql.Expression
- func SLQ(str []string) []litsql.Expression
- func SLQC(str []string) []litsql.Expression
- func SQ(str string) litsql.Expression
- func SQC(str string) litsql.Expression
- func WriterAddSeparator(topLevel bool) litsql.Expression
- type Raw
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Space = Raw(internal.Space) CommaSpace = Raw(internal.CommaSpace) NewLine = Raw(internal.NewLine) OpenPar = Raw(internal.OpenPar) ClosePar = Raw(internal.ClosePar) CommaWriterNewLine = J(Raw(internal.Comma), WriterNewLine) CommaWriterSeparator = J(Raw(internal.Comma), WriterSeparator) )
View Source
var ErrNoNamedArgs = errors.New("Dialect does not support named arguments")
Functions ¶
func And ¶
func And(expr ...string) litsql.Expression
func AndE ¶
func AndE(expr ...litsql.Expression) litsql.Expression
func Arg ¶
func Arg(value any) litsql.Expression
func Args ¶
func Args(values []any) []litsql.Expression
func CastSlice ¶
func CastSlice[E litsql.Expression](list []E) []litsql.Expression
func In ¶
func In(values ...any) litsql.Expression
func InP ¶
func InP(values ...any) litsql.Expression
func J ¶
func J(exprs ...litsql.Expression) litsql.Expression
func JS ¶
func JS(sep string, exprs ...litsql.Expression) litsql.Expression
func Or ¶
func Or(expr ...string) litsql.Expression
func OrE ¶
func OrE(expr ...litsql.Expression) litsql.Expression
func Paren ¶
func Paren(expr ...string) litsql.Expression
func ParenE ¶
func ParenE(expr ...litsql.Expression) litsql.Expression
func Quote ¶
func Quote(aa ...string) litsql.Expression
func QuoteCheck ¶
func QuoteCheck(aa ...string) litsql.Expression
func S ¶
func S(str string) litsql.Expression
func SL ¶
func SL(str []string) []litsql.Expression
func SLQ ¶
func SLQ(str []string) []litsql.Expression
func SLQC ¶
func SLQC(str []string) []litsql.Expression
func SQ ¶
func SQ(str string) litsql.Expression
func SQC ¶
func SQC(str string) litsql.Expression
func WriterAddSeparator ¶
func WriterAddSeparator(topLevel bool) litsql.Expression
Types ¶
Click to show internal directories.
Click to hide internal directories.