2021-08-25 15:34:33 +02:00
|
|
|
package feature
|
|
|
|
|
|
|
|
import "github.com/uptrace/bun/internal"
|
|
|
|
|
|
|
|
type Feature = internal.Flag
|
|
|
|
|
|
|
|
const (
|
2021-09-08 21:05:26 +02:00
|
|
|
CTE Feature = 1 << iota
|
|
|
|
Returning
|
2021-08-25 15:34:33 +02:00
|
|
|
DefaultPlaceholder
|
|
|
|
DoubleColonCast
|
|
|
|
ValuesRow
|
|
|
|
UpdateMultiTable
|
|
|
|
InsertTableAlias
|
|
|
|
DeleteTableAlias
|
|
|
|
AutoIncrement
|
|
|
|
TableCascade
|
|
|
|
TableIdentity
|
|
|
|
TableTruncate
|
2021-11-27 15:26:58 +01:00
|
|
|
InsertOnConflict // INSERT ... ON CONFLICT
|
|
|
|
InsertOnDuplicateKey // INSERT ... ON DUPLICATE KEY
|
|
|
|
InsertIgnore // INSERT IGNORE ...
|
2021-08-25 15:34:33 +02:00
|
|
|
)
|