sql/extensions/safety/settings
Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0015-sql-safety FR-011
The settings of the safety features (commons data 0015-sql-safety FR-011): each feature is on unless a project switches it off, and every number and name has a default.
Source: commons/data/sql/extensions/safety/settings.ts
0 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.
Safetyinterfaceno test imports itinterface Safety
The settings with every default filled.
| Member | Type | What it is |
|---|
quarantine | boolean | |
suffixes | { readonly column: string; readonly table: string; } | |
locks | boolean | |
lockTimeoutMs | number | |
statementTimeoutMs | number | |
attempts | number | |
delayMs | number | |
validateLater | boolean | |
verify | boolean | |
SafetySettingsinterfaceno test imports itinterface SafetySettings
What a project says of safety; what is not said is the default.
| Member | Type | What it is |
|---|
quarantine? | "off" | "on" | Whether a drop keeps what it removes in a quarantine table; on by default. |
suffixes? | { readonly column?: string | undefined; readonly table?: string | undefined; } | The last word of a quarantine table of a column and of a table; quarantine and quarantined by default. |
locks? | "off" | "on" | Whether a step that changes a table asks for its locks with a timeout, and is tried again; on by default. |
lockTimeoutMs? | number | How long a step waits for a lock, in milliseconds; 5000 by default. |
statementTimeoutMs? | number | How long a statement of such a step may run, in milliseconds; 60000 by default. |
attempts? | number | How many times a step is tried where it gives up on a lock; 3 by default. |
delayMs? | number | The pause before the next try, in milliseconds, multiplied by the number of tries so far; 1000 by default. |
validateLater? | "off" | "on" | Whether a constraint is added without checking the rows and then checked, where the dialect can; on by default. |
verify? | "off" | "on" | Whether each step says what must be true after it and the run checks it; on by default. |