mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-01 23:10:01 +00:00
23 lines
357 B
Go
23 lines
357 B
Go
|
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
|
||
|
)
|