Delete records in Datastax vector database

19 views Asked by At

how do i delete 7 records from my vector database "Moos" where content = "/start"

preferable in Datastax UI, or in CQL otherwise in javascript

something like : delete from Moos where content = "/start"

but then for a vector DB

1

There are 1 answers

0
Richard Schut On

You just need to import AstraDB as below:

import { AstraDB } from "@datastax/astra-db-ts";

...

await warmDataCollection.deleteOne( { "content" : "/start" } );