dm

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Code generated by "litsql-dialectgen"; DO NOT EDIT.

Code generated by "litsql-dialectgen"; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply added in v0.4.2

func Apply(f func(a mysql.DeleteModApply)) mysql.DeleteMod

func From

func From(table string) mysql.DeleteMod

func Only

func Only() mysql.DeleteMod

func Returning

func Returning(clauses ...string) mysql.DeleteMod

func Where

func Where(condition string) mysql.DeleteMod

func WhereClause added in v0.8.0

func WhereClause(query string, args ...any) mysql.DeleteMod

func WhereExpr added in v0.8.0

func WhereExpr(condition litsql.Expression) mysql.DeleteMod

Types

type FromChain

type FromChain interface {
	sq.QueryMod[tag.DeleteTag]
	As(alias string, columns ...string) FromChain
	Lateral() FromChain
}

func Using

func Using(table string) FromChain

func UsingExpr added in v0.8.0

func UsingExpr(table litsql.Expression) FromChain

func UsingQuery added in v0.8.0

func UsingQuery(q mysql.SelectQuery) FromChain

type JoinChain

type JoinChain interface {
	sq.QueryMod[tag.DeleteTag]
	As(alias string, columns ...string) JoinChain
	Lateral() JoinChain
	Natural() mysql.DeleteMod
	On(on string) JoinChain
	OnClause(query string, args ...any) JoinChain
	OnExpr(on litsql.Expression) JoinChain
	Using(using ...string) JoinChain
}

func CrossJoin

func CrossJoin(table string) JoinChain

func CrossJoinExpr added in v0.8.0

func CrossJoinExpr(table litsql.Expression) JoinChain

func FullJoin

func FullJoin(table string) JoinChain

func FullJoinExpr added in v0.8.0

func FullJoinExpr(table litsql.Expression) JoinChain

func InnerJoin

func InnerJoin(table string) JoinChain

func InnerJoinExpr added in v0.8.0

func InnerJoinExpr(table litsql.Expression) JoinChain

func LeftJoin

func LeftJoin(table string) JoinChain

func LeftJoinExpr added in v0.8.0

func LeftJoinExpr(table litsql.Expression) JoinChain

func RightJoin

func RightJoin(table string) JoinChain

func RightJoinExpr added in v0.8.0

func RightJoinExpr(table litsql.Expression) JoinChain

func StraightJoin

func StraightJoin(table string) JoinChain

func StraightJoinExpr added in v0.8.0

func StraightJoinExpr(table litsql.Expression) JoinChain

type WithChain

type WithChain interface {
	sq.QueryMod[tag.DeleteTag]
	As(q litsql.Query) WithChain
	Recursive() WithChain
}

func With

func With(name string, columns ...string) WithChain

func WithExpr added in v0.8.0

func WithExpr(name string, columns ...litsql.Expression) WithChain

Jump to

Keyboard shortcuts

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