mirror of
1
Fork 0
gotosocial/vendor/github.com/uptrace/bun/dialect/feature/feature.go

23 lines
357 B
Go
Raw Normal View History

package feature
import "github.com/uptrace/bun/internal"
type Feature = internal.Flag
const DefaultFeatures = Returning | TableCascade
const (
Returning Feature = 1 << iota
DefaultPlaceholder
DoubleColonCast
ValuesRow
UpdateMultiTable
InsertTableAlias
DeleteTableAlias
AutoIncrement
TableCascade
TableIdentity
TableTruncate
OnDuplicateKey
)