You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
663 B
Go
36 lines
663 B
Go
package feature
|
|
|
|
import "github.com/uptrace/bun/internal"
|
|
|
|
type Feature = internal.Flag
|
|
|
|
const (
|
|
CTE Feature = 1 << iota
|
|
WithValues
|
|
Returning
|
|
InsertReturning
|
|
Output // mssql
|
|
DefaultPlaceholder
|
|
DoubleColonCast
|
|
ValuesRow
|
|
UpdateMultiTable
|
|
InsertTableAlias
|
|
UpdateTableAlias
|
|
DeleteTableAlias
|
|
AutoIncrement
|
|
Identity
|
|
TableCascade
|
|
TableIdentity
|
|
TableTruncate
|
|
InsertOnConflict // INSERT ... ON CONFLICT
|
|
InsertOnDuplicateKey // INSERT ... ON DUPLICATE KEY
|
|
InsertIgnore // INSERT IGNORE ...
|
|
TableNotExists
|
|
OffsetFetch
|
|
SelectExists
|
|
UpdateFromTable
|
|
MSSavepoint
|
|
GeneratedIdentity
|
|
CompositeIn // ... WHERE (A,B) IN ((N, NN), (N, NN)...)
|
|
)
|