reveal-sdk-node
Version:
RevealBI Node.js SDK
38 lines (37 loc) • 1.5 kB
TypeScript
import { RVDashboardDataSource } from "../AbstractClasses/RVDashboardDataSource";
import { nullableString } from "../types";
/** MongoDB data source */
export declare class RVMongoDBDataSource extends RVDashboardDataSource {
constructor();
/** @hidden */
constructor(json: any);
/** @hidden */
toJson(): any;
/** @hidden */
getProviderKey(): string;
private _connectionString;
/** Connection string for connecting to the MongoDB host. */
get connectionString(): nullableString;
set connectionString(value: nullableString);
private _database;
/** Database used in the MongoDB server */
get database(): nullableString;
set database(value: nullableString);
private _processDataOnServerDefaultValue;
/** Sets the default value for "Process Data on Server" option for this data source, the
* end user can still change the value, unless {@link processDataOnServerReadOnly} is true.
*/
get processDataOnServerDefaultValue(): boolean;
set processDataOnServerDefaultValue(value: boolean);
private _processDataOnServerReadOnly;
/**
* When set to true the user will not be allowed to change the value for "Process Data on Server" option
* and the default value will be used.
*/
get processDataOnServerReadOnly(): boolean;
set processDataOnServerReadOnly(value: boolean);
/** @hidden */
getType(): string;
/** @hidden */
_getWrapper(): any;
}