UNPKG

mssql-change-tracking

Version:
15 lines (14 loc) 548 B
import sql from "mssql"; declare type CtGrantAccess = QueryInput & { pool: sql.ConnectionPool; }; /** grant access to change tracking data for specific table to specific user */ export declare function ctAccessGrant({ pool, userName, tableName, dbName, schema, }: CtGrantAccess): Promise<void>; declare type QueryInput = { schema?: string; dbName?: string; tableName: string; userName: string; }; export declare function ctAccessGrantQuery({ tableName, userName, schema, dbName, }: QueryInput): string; export {};