AzureCosmosVCoreIndexStore
Defined in: packages/providers/storage/azure/src/indexStore/AzureCosmosMongovCoreIndexStore.ts:13
Extends
KVIndexStore
Constructors
Constructor
new AzureCosmosVCoreIndexStore(
__namedParameters
):AzureCosmosVCoreIndexStore
Defined in: packages/providers/storage/azure/src/indexStore/AzureCosmosMongovCoreIndexStore.ts:14
Parameters
__namedParameters
AzureCosmosVCoreIndexStoreArgs
Returns
AzureCosmosVCoreIndexStore
Overrides
KVIndexStore.constructor
Methods
fromMongoClient()
static
fromMongoClient(mongoClient
,dbName
,collectionName
):AzureCosmosVCoreIndexStore
Defined in: packages/providers/storage/azure/src/indexStore/AzureCosmosMongovCoreIndexStore.ts:33
Static method for creating an instance using a MongoClient.
Parameters
mongoClient
MongoClient
MongoClient instance
dbName
string
= DEFAULT_DATABASE
Database name
collectionName
string
= DEFAULT_COLLECTION
Collection name
Returns
AzureCosmosVCoreIndexStore
Instance of AzureCosmosVCoreIndexStore
Example
fromConnectionString()
static
fromConnectionString(connectionString
,dbName
,collectionName
):AzureCosmosVCoreIndexStore
Defined in: packages/providers/storage/azure/src/indexStore/AzureCosmosMongovCoreIndexStore.ts:61
Static method for creating an instance using a connection string.
Parameters
connectionString
string
MongoDB connection string
dbName
string
= DEFAULT_DATABASE
Database name
collectionName
string
= DEFAULT_COLLECTION
Collection name
Returns
AzureCosmosVCoreIndexStore
Instance of AzureCosmosVCoreIndexStore