UNPKG

mssql-change-tracking

Version:
15 lines (14 loc) 515 B
import sql from "mssql"; declare type SnapshotStatusOut = { db_name: string; is_read_committed_snapshot_on: "0" | "1"; snapshot_isolation_state_desc: "OFF" | "ON"; }; declare type SnapshotStatusInput = { pool: sql.ConnectionPool; dbName?: string; }; /** get snapshot isolation status on specific db */ export declare function siStatus({ pool, dbName, }: SnapshotStatusInput): Promise<SnapshotStatusOut[]>; export declare function siStatusQuery(dbName?: string): string; export {};