reveal-sdk-node
Version:
RevealBI Node.js SDK
28 lines (27 loc) • 1.09 kB
TypeScript
import { RVDataSourceItem } from "../AbstractClasses/RVDataSourceItem";
import { RVMongoDBDataSource } from "./RVMongoDBDataSource";
import { nullableString } from "../types";
/** MongoDB data source item. */
export declare class RVMongoDBDataSourceItem extends RVDataSourceItem {
constructor(dataSource: RVMongoDBDataSource);
/** @hidden */
constructor(json: any);
/** @hidden */
toJson(): any;
private _collection;
/** Collection name for accessing the documents */
get collection(): nullableString;
set collection(value: nullableString);
private _customQuery;
/** (Optional) Custom MongoDB query to use when getting data */
get customQuery(): nullableString;
set customQuery(value: nullableString);
private _processDataOnServer;
/** Configures if the "Process Data on Server" option is turned on for this item, defaults to "true" */
get processDataOnServer(): boolean;
set processDataOnServer(value: boolean);
/** @hidden */
getType(): string;
/** @hidden */
_getWrapper(): any;
}