typeorm
Version:
Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
10 lines (9 loc) • 376 B
TypeScript
import type { IsolationLevel } from "./types/IsolationLevel";
/**
* Validates that the given isolation level is in the provided list of supported levels.
* Throws a TypeORMError if not supported.
*
* @param supported
* @param isolationLevel
*/
export declare const validateIsolationLevel: (supported: readonly IsolationLevel[], isolationLevel?: IsolationLevel) => void;