Skip to main content
All docs
V24.2

MongoDBDataSource Class

#Declaration

TypeScript
export class MongoDBDataSource extends DataSource

#constructor

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

#Declaration

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

#Parameters

Name Type
dataSourceJSON any
serializer ModelSerializer

#Properties

#queries Property

#Declaration

TypeScript
queries: ko.ObservableArray<MongoDBQuery>

#Property Value

Type
ObservableArray<MongoDBQuery>

#Methods

#getDisplayNamePrefix Method

#Declaration

TypeScript
getDisplayNamePrefix(): string

#Returns

Type
string

#getInfo Method

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type
ISerializationInfoArray