Skip to content

Instance Property

ifNotExists

If true, requests idempotent behavior for table creation.
var ifNotExists: Bool

Discussion

In other words, this flag requests that the database ignore the entire query rather than raising an error if a name collision occurs (i.e. if a table with the requested name already exists in the same scope).

This flag is ignored if not supported by the dialect.