mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-27 11:28:17 +03:00
38 lines
795 B
Go
38 lines
795 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
|
|
MSSavepoint
|
|
GeneratedIdentity
|
|
CompositeIn // ... WHERE (A,B) IN ((N, NN), (N, NN)...)
|
|
UpdateOrderLimit // UPDATE ... ORDER BY ... LIMIT ...
|
|
DeleteOrderLimit // DELETE ... ORDER BY ... LIMIT ...
|
|
DeleteReturning
|
|
)
|