mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-20 16:11:50 +03:00
2dc9fc1626
* start moving to bun * changing more stuff * more * and yet more * tests passing * seems stable now * more big changes * small fix * little fixes
22 lines
357 B
Go
22 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
|
|
)
|