Class StiMongoDbConnector

Hierarchy

Index

Properties

connectionIdent

connectionIdent: StiConnectionIdent

Gets a type of the connector.

connectionOrder

connectionOrder: StiConnectionOrder

Gets an order of the connector.

connectionString

connectionString: string

isAvailable

isAvailable: boolean

Get a value which indicates that this data connector can be used now.

name

name: string

The name of this connector.

nuGetPackages

nuGetPackages: string[]

Gets the package identificator for this connector.

nuGetVersion

nuGetVersion: string

Gets the package version for this connector.

Static advancedRetrievalModeOfDatabaseSchema

advancedRetrievalModeOfDatabaseSchema: boolean

If true then database information will be required from database with help of DataAdapter (instead Connection.GetSchema).

Static getSchemaColumnsMode

getSchemaColumnsMode: boolean = true

If true then in GetSchema method, column reference by index else by name.

Methods

close

  • close(): void

convertDateTimeToJsonStr

  • convertDateTimeToJsonStr(date: DateTime): string
  • Parameters

    Returns string

getColumns

getDataTable

  • getDataTable(collectionName: string, query: string, index?: number, count?: number): DataTable

getFamilyConnectors

getSampleConnectionString

  • getSampleConnectionString(): string

open

  • open(): void

resetSettings

  • resetSettings(): void

retrieveSchema

  • Returns schema object which contains information about structure of the database. Schema returned start at specified root element (if it applicable).

    Parameters

    • Default value allowException: boolean = false

    Returns StiDataSchema

testConnection

Generated using TypeDoc