UNPKG

jsc8

Version:

The official Macrometa JavaScript SDK.

16 lines 741 B
import { Connection } from "./connection"; export interface CollectionParams { offset?: number; limit?: number; order?: string; } export declare class ImportAndExport { protected _connection: Connection; protected collectionName: string; constructor(connection: Connection, collectionName: string); setResultListener(callback: ((res: any) => void) | undefined): void; exportDataByQuery(query: string, bindVars?: Record<string, any>): Promise<any>; exportDataByCollectionName(params?: CollectionParams): Promise<any>; importDocuments(data: Array<Record<string, any>>, showErrors: boolean | undefined, primaryKey: string, replace?: boolean): Promise<any>; } //# sourceMappingURL=importandexport.d.ts.map