mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-01 23:10:01 +00:00
88979b35d4
* update bun + sqlite versions * step bun to v1.1.3
33 lines
574 B
Go
33 lines
574 B
Go
package feature
|
|
|
|
import "github.com/uptrace/bun/internal"
|
|
|
|
type Feature = internal.Flag
|
|
|
|
const (
|
|
CTE Feature = 1 << iota
|
|
WithValues
|
|
Returning
|
|
InsertReturning
|
|
Output // mssql
|
|
DefaultPlaceholder
|
|
DoubleColonCast
|
|
ValuesRow
|
|
UpdateMultiTable
|
|
InsertTableAlias
|
|
UpdateTableAlias
|
|
DeleteTableAlias
|
|
AutoIncrement
|
|
Identity
|
|
TableCascade
|
|
TableIdentity
|
|
TableTruncate
|
|
InsertOnConflict // INSERT ... ON CONFLICT
|
|
InsertOnDuplicateKey // INSERT ... ON DUPLICATE KEY
|
|
InsertIgnore // INSERT IGNORE ...
|
|
TableNotExists
|
|
OffsetFetch
|
|
SelectExists
|
|
UpdateFromTable
|
|
)
|