mssql-change-tracking
Version:
MS SQL server change tracking functions
11 lines (10 loc) • 392 B
TypeScript
import sql from "mssql";
import { siStatus } from "./snapshot-isolation-status";
declare type SiDbEnable = {
pool: sql.ConnectionPool;
dbName: string;
};
/** Enable snapshot isolation on specific DB */
export declare function siDbEnable({ dbName, pool, }: SiDbEnable): ReturnType<typeof siStatus>;
export declare function siDbEnableQuery(dbName: string): string;
export {};