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