Documentation ¶
Index ¶
Constants ¶
View Source
const ( //InsertWithSingleValues single values insert InsertWithSingleValues = InsertFeatures(iota) //InsertWithMultiValues multi values insert InsertWithMultiValues )
View Source
const ( //LoadTypeUnsupported defines unsupported type LoadTypeUnsupported = LoadFeature(iota) //LoadTypeLocalData defined local data load support LoadTypeLocalData )
View Source
const ( //UpsertTypeUnsupported defines uppsert types UpsertTypeUnsupported = UpsertFeatures(iota) //UpsertTypeMerge defines merge upsert type UpsertTypeMerge //i.e PostgreSQL, BigQuery //UpsertTypeMergeInto //defined merge into upsert UpsertTypeMergeInto //i.e Oracle, Vertica, MS SQL, PostgreSQL dialect //UpsertTypeInsertOrReplace defined insert or replace upsert UpsertTypeInsertOrReplace //i.e. SQLLite //UpsertTypeInsertOrUpdate defined insert or update upsert UpsertTypeInsertOrUpdate //i.e MySQL //UpsertTypeUpdateOrInsert defined update or insert upsert UpsertTypeUpdateOrInsert //i.e Firebird )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertFeatures ¶
type InsertFeatures int
InsertFeatures represents dialect supported insert type bitset
func (InsertFeatures) MultiValues ¶
func (t InsertFeatures) MultiValues() bool
MultiValues returns true if dialect support multi values insert batch DML
type LoadFeature ¶
type LoadFeature int
LoadFeature represents dialect supported load type type bitset
type UpsertFeatures ¶
type UpsertFeatures int
UpsertFeatures represents dialect supported merge type bitset
Click to show internal directories.
Click to hide internal directories.