mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-21 08:31:53 +03:00
88979b35d4
* update bun + sqlite versions * step bun to v1.1.3
32 lines
574 B
Go
32 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
|
|
)
|