UNPKG

mysql-live-client

Version:
16 lines (15 loc) 492 B
export default class BaseCollection { name: string; items: any[]; primaryKeyColumn: string; __single_item_collection__: boolean; constructor(name: string); loop: (fn: (item?: any) => void) => void; item: any; get: any; setId(objectToPassId: any, theValueOnlyId: string | number): any; getId(objectToGetIdOf: any): string | number; find(criteria: any): any[]; findSingle(criteria: any): any; } export declare type LoopFn = (item?: any) => void;