Method EnsureCollectionExistsAsync
- Namespace
- Qavren.Edge.VectorData
- Assembly
- Qavren.Edge.VectorData.dll
EnsureCollectionExistsAsync(CancellationToken)
Creates the data table, its indexes, the vec0 table, the FTS5 sidecar and all four triggers in one transaction. Before any of it: asserts the SQLite floor, then validates the configured generator's width against the declared vector width.
public override Task EnsureCollectionExistsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancels the work.
Returns
- Task
A task that completes when every statement has been committed.