Skip to main content

Remove AQL

one with _key

remove ONE doc by _key
REMOVE "test" IN sample

remove one explanation

  • REMOVE _key IN {CollectionID}
  • The _key is allowed as string when u want to delete multiple

(first insert two nodes with key test and Test)

remove ONE doc by _key
FOR doc IN ["test","Test"]
REMOVE doc IN sample

many with filter

delete many with FILTER
FOR doc in sample
FILTER doc.name == "blub"
REMOVE doc IN sample