Method BuildCreateSql
- Namespace
- Qavren.Edge.VectorData
- Assembly
- Qavren.Edge.VectorData.dll
BuildCreateSql(CollectionModel, string, EdgeVectorStoreOptions?)
The create-collection statements, in execution order: data table, key index, one index per
IsIndexed property, the vec0 table, the FTS5 sidecar, its three sync triggers, and
the vec0 delete cascade.
public static IReadOnlyList<string> BuildCreateSql(CollectionModel model, string collectionName, EdgeVectorStoreOptions? options = null)
Parameters
modelCollectionModelThe built collection model.
collectionNamestringThe collection name.
optionsEdgeVectorStoreOptionsStore options. Null takes every default.
Returns
- IReadOnlyList<string>
The statements, in order.
BuildCreateSql()
Emits the create-collection statements. See the static overload for the order.
public IReadOnlyList<string> BuildCreateSql()
Returns
- IReadOnlyList<string>
The statements, in order.