Instance Property
supportsIfExists
true if the dialect supports the IF EXISTS modifier for all types of DROP queries (such as SQLDropEnum, SQLDropIndex, SQLDropTable, and SQLDropTrigger) and the IF NOT EXISTS modifier for SQLCreateTable queries.var supportsIfExists: Bool { get }
Discussion
It is not possible to indicate partial support at this time.
Defaults to true.
Default Implementations
SQLDialect Implementations
var supportsIfExists: BoolDefault implementation ofsupportsIfExists.
See Also
Support Flags
var supportsAutoIncrement: Booltrueif the dialect supports auto-increment for primary key values when inserting new rows,falseif not.var supportsDropBehavior: Booltrueif the dialect supports thebehavior modifiers forDROPqueries,false` if not.var supportsReturning: Booltrueif the dialect supportsRETURNINGsyntax for retrieving output values from DML queries (INSERT,UPDATE,DELETE).var unionFeatures: SQLUnionFeaturesA set of feature flags describing the dialect’s support for various forms ofUNIONwithSELECTqueries.