@ndustrial/node-distributed-lock
Version:
Enables distributed locking for sequelize applications
17 lines (16 loc) • 546 B
TypeScript
export = KnexQueryInterface;
declare class KnexQueryInterface extends QueryInterface {
query(statement: any, { transaction, replacements, firstResult }: {
transaction: any;
replacements: any;
firstResult: any;
}): Promise<any>;
createTransaction(): Promise<any>;
getDialectName(): any;
parseDatabaseError(error: any): string;
}
declare namespace KnexQueryInterface {
let interfaceName: string;
function checkInterface(queryInterface: any): boolean;
}
import QueryInterface = require("./base");