1 override of UpsertAsync
Microsoft.Extensions.VectorData.ConformanceTests (1)
DependencyInjectionTests.cs (1)
311public override Task UpsertAsync(IEnumerable<TRecord> records, CancellationToken cancellationToken = default)
16 references to UpsertAsync
Microsoft.Extensions.VectorData.ConformanceTests (16)
DistanceFunctionTests.cs (1)
102await collection.UpsertAsync(insertedRecords);
EmbeddingGenerationTests.cs (2)
256await collection.UpsertAsync(records); 292await collection.UpsertAsync(records);
IndexKindTests.cs (1)
45await collection.UpsertAsync(records);
ModelTests\BasicModelTests.cs (5)
271await Collection.UpsertAsync(newRecords); 302await Collection.UpsertAsync(existingRecords); 334await Collection.UpsertAsync(records); 348ArgumentNullException ex = await Assert.ThrowsAsync<ArgumentNullException>(() => Collection.UpsertAsync(records: null!)); 358await Collection.UpsertAsync([]);
ModelTests\DynamicModelTests.cs (1)
272await Collection.UpsertAsync(newRecords);
Support\VectorStoreCollectionFixtureBase.cs (1)
61await Collection.UpsertAsync(TestData);
TypeTests\DataTypeTests.cs (2)
264await fixture.Collection.UpsertAsync(testData); 311await dynamicCollection.UpsertAsync(testData);
TypeTests\KeyTypeTests.cs (3)
74await collection.UpsertAsync([record, nextRecord]); 121await dynamicCollection.UpsertAsync([dynamicRecord, nextDynamicRecord]); 193await collectionWithAutoGeneration.UpsertAsync([recordWithDefaultValueKey1, recordWithDefaultValueKey2, recordWithDefaultValueKey3, record]);