enableStrictMode Method @beta
Enable strict mode on the reader.
Strict mode affects how the reader handles a column-count mismatch between a change record and the corresponding live database table. Such a mismatch can occur when columns have been added to a table after the changeset was created.
When strict mode is enabled: if the number of columns recorded in a change row differs from the number of columns currently present in the live table, the reader throws an error instead of processing that row.
Use strict mode when you need to be certain that every change row is interpreted against exactly the schema that was in effect when the changeset was written.
enableStrictMode(): void
@see disableStrictMode — the default (lenient) behaviour.
@throws if the native layer encounters an error.
Returns - void
Defined in
- backend/src/ChangesetReader.ts Line 365
Last Updated: 27 May, 2026