Delete

Deletion is basically consistent with searching, which just add “delete()” after specified condition.

query.use("item").byId("5710a81ab73a87092e17a02b").delete()

query.use("item").eq("test","2").delete()

If you just want to delete one, run “deleteOne()”.

results matching ""

    No results matching ""