Documentation / @zerotal/orm / index / resolveSyncOptions
Function: resolveSyncOptions()
resolveSyncOptions(
raw):ResolvedSyncOptions
Defined in: packages/orm/src/schema/autoMigrate.ts:119
Normalise the polymorphic database.synchronize config into { enabled, disruptive }.
false / undefined -> { enabled: false, disruptive: false } true -> { enabled: true, disruptive: false } (additive) { enabled, disruptive? } -> as given (enabled defaults true when the object is present)
Parameters
raw
unknown