clause

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: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	OrderWith        = 50
	OrderSelectStart = 150 // the SELECT should be printed after this order
	OrderDistinct    = 170
	OrderColumns     = 200
	OrderFrom        = 400
	OrderJoin        = 800
	OrderWhere       = 1000
	OrderGroupBy     = 1500
	OrderHaving      = 1600
	OrderWindow      = 1800
	OrderUnion       = 1900
	OrderOrderBy     = 2000
	OrderOffset      = 3000
	OrderLimit       = 3001
)

select

View Source
const (
	// OrderWith = 50
	OrderInsertStart        = 150 // the INSERT should be printed after this order
	OrderTable              = 200
	OrderInsertOverriding   = 250
	OrderValues             = 1000
	OrderInsertConflict     = 1500
	OrderInsertDuplicateKey = 1501
	OrderReturning          = 2000
)

insert

View Source
const (
	// OrderWith = 50
	OrderUpdateStart = 150 // the UPDATE should be printed after this order
	OrderUpdateOnly  = 151
	// OrderTable = 200
	OrderSet = 300
)

update

View Source
const (
	// OrderWith = 50
	OrderDeleteStart = 150 // the DELETE should be printed after this order
	OrderDeleteOnly  = 151
	OrderDeleteFrom  = 300
)

delete

View Source
const (
	OrderRawQuery = -10
)

general

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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