Skip to content

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.