mssql-change-tracking
Version:
MS SQL server change tracking functions
15 lines (14 loc) • 571 B
TypeScript
import sql from "mssql";
import { ctTablesStatus } from "./change-tracking-table-status";
declare type CtTableDisableInput = QueryInput & {
pool: sql.ConnectionPool;
};
/** Disable change tracking in Table level */
export declare function ctTableDisable({ tableName, dbName, schema, pool, }: CtTableDisableInput): ReturnType<typeof ctTablesStatus>;
declare type QueryInput = {
schema?: string;
dbName?: string;
tableName: string;
};
export declare function ctTableDisableQuery({ tableName, dbName, schema, }: QueryInput): string;
export {};