gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

feature.go (663B)


      1 package feature
      2 
      3 import "github.com/uptrace/bun/internal"
      4 
      5 type Feature = internal.Flag
      6 
      7 const (
      8 	CTE Feature = 1 << iota
      9 	WithValues
     10 	Returning
     11 	InsertReturning
     12 	Output // mssql
     13 	DefaultPlaceholder
     14 	DoubleColonCast
     15 	ValuesRow
     16 	UpdateMultiTable
     17 	InsertTableAlias
     18 	UpdateTableAlias
     19 	DeleteTableAlias
     20 	AutoIncrement
     21 	Identity
     22 	TableCascade
     23 	TableIdentity
     24 	TableTruncate
     25 	InsertOnConflict     // INSERT ... ON CONFLICT
     26 	InsertOnDuplicateKey // INSERT ... ON DUPLICATE KEY
     27 	InsertIgnore         // INSERT IGNORE ...
     28 	TableNotExists
     29 	OffsetFetch
     30 	SelectExists
     31 	UpdateFromTable
     32 	MSSavepoint
     33 	GeneratedIdentity
     34 	CompositeIn // ... WHERE (A,B) IN ((N, NN), (N, NN)...)
     35 )