mysql-live
Version:
Brings the server.publish and client.subscribe for live updates on mysql database. The only one Live Collections.
12 lines (11 loc) • 425 B
TypeScript
/// <reference path="../../typings/node-mysql-wrapper/node-mysql-wrapper.d.ts" />
export declare type TableToSearchPart = {
tableName: string;
propertyName: string;
};
declare class LiveHelper {
static upsert(arr: any, key: any, newval: any): void;
static canInsert(objRow: any, rawCriteria: any, joinedRow?: any): boolean;
static getArgumentsFromCallback(cb: any): string[];
}
export default LiveHelper;