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
supportsIfExistsDefault implementation ofsupportsIfExists.
See Also
Support Flags
supportsAutoIncrementtrueif the dialect supports auto-increment for primary key values when inserting new rows,falseif not.supportsDropBehaviortrueif the dialect supports thebehavior modifiers forDROPqueries,false` if not.supportsReturningtrueif the dialect supportsRETURNINGsyntax for retrieving output values from DML queries (INSERT,UPDATE,DELETE).unionFeaturesA set of feature flags describing the dialect’s support for various forms ofUNIONwithSELECTqueries.