start moving to bun

This commit is contained in:
tsmethurst 2021-08-23 16:54:26 +02:00
commit 29b4adfb69
175 changed files with 16045 additions and 945 deletions

View file

@ -0,0 +1,22 @@
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
)