Skip to main content
All docs
V24.2

MongoDBDataSource Class

Declaration

export class MongoDBDataSource extends DataSource

constructor

Initializes a new instance of the MongoDBDataSource class with specified settings.

Declaration

constructor(
    dataSourceJSON?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

Name Type
dataSourceJSON any
serializer ModelSerializer

Properties

queries Property

Declaration

queries: ko.ObservableArray<MongoDBQuery>

Property Value

Type
ObservableArray<MongoDBQuery>

Methods

getDisplayNamePrefix Method

Declaration

getDisplayNamePrefix(): string

Returns

Type
string

getInfo Method

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type
ISerializationInfoArray