Skip to main content
Version: Next

EnsureDatabaseOptions

Options for ISchemaGenerator.ensureDatabase() which creates and optionally clears the database.

Hierarchy

Index

Properties

optionalclear

clear?: boolean

optionalinheritedclearIdentityMap

clearIdentityMap?: boolean

optionalcreate

create?: boolean

optionalforceCheck

forceCheck?: boolean

optionalinheritedincludeWildcardSchema

includeWildcardSchema?: boolean

When true, entities with a wildcard schema (schema: '*') are included in the generated DDL. Without this, wildcard tables are skipped.

optionalinheritedschema

schema?: string

optionalinheritedtruncate

truncate?: boolean

optionalinheritedwrap

wrap?: boolean