I can't find out how to delete a document in xtdb with clojure. I see the example in the cool interplanetary themed tutorial for deleting by time range or whatnot, but how do you just delete documents using similar syntax to how you would query? I realize it may not be similar syntax, but I should be able to, say, remove a todo from a db of todos, right?
Asked
Active
Viewed 118 times
0
-
1Have you tried https://docs.xtdb.com/language-reference/datalog-transactions/#delete ? – cfrick Sep 29 '22 at 09:33
-
1Or https://docs.xtdb.com/language-reference/datalog-transactions/#evict ? – cfrick Sep 29 '22 at 09:34
-
I hadn't seen those pages... I'll give them a go and it looks like they are going to work. – THX1137 Oct 02 '22 at 07:26