Skip to content

AzureCosmosVCoreIndexStore

Defined in: .build/typescript/packages/providers/storage/azure/src/indexStore/AzureCosmosMongovCoreIndexStore.ts:13

  • KVIndexStore

new AzureCosmosVCoreIndexStore(__namedParameters): AzureCosmosVCoreIndexStore

Defined in: .build/typescript/packages/providers/storage/azure/src/indexStore/AzureCosmosMongovCoreIndexStore.ts:14

AzureCosmosVCoreIndexStoreArgs

AzureCosmosVCoreIndexStore

KVIndexStore.constructor

static fromMongoClient(mongoClient, dbName, collectionName): AzureCosmosVCoreIndexStore

Defined in: .build/typescript/packages/providers/storage/azure/src/indexStore/AzureCosmosMongovCoreIndexStore.ts:33

Static method for creating an instance using a MongoClient.

MongoClient

MongoClient instance

string = DEFAULT_DATABASE

Database name

string = DEFAULT_COLLECTION

Collection name

AzureCosmosVCoreIndexStore

Instance of AzureCosmosVCoreIndexStore

const mongoClient = new MongoClient("mongodb://localhost:27017");
const indexStore = AzureCosmosVCoreIndexStore.fromMongoClient(mongoClient, "my_db", "my_collection");

static fromConnectionString(connectionString, dbName, collectionName): AzureCosmosVCoreIndexStore

Defined in: .build/typescript/packages/providers/storage/azure/src/indexStore/AzureCosmosMongovCoreIndexStore.ts:61

Static method for creating an instance using a connection string.

string

MongoDB connection string

string = DEFAULT_DATABASE

Database name

string = DEFAULT_COLLECTION

Collection name

AzureCosmosVCoreIndexStore

Instance of AzureCosmosVCoreIndexStore

const indexStore = AzureCosmosVCoreIndexStore.fromConnectionString("mongodb://localhost:27017", "my_db", "my_collection");