createVectorIndex method

Future<void> createVectorIndex({
  1. required String table,
  2. required String column,
  3. List<String>? namespace,
  4. bool replace = false,
})

Create a vector index on a given column.

Implementation

Future<void> createVectorIndex({required String table, required String column, List<String>? namespace, bool replace = false}) async {
  await room.sendRequest("database.create_vector_index", {"table": table, "column": column, "namespace": namespace, "replace": replace});
}