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