ArangoXEcto.Migration.drop

You're seeing just the function drop, go back to ArangoXEcto.Migration module for more information.

Specs

drop(%ArangoXEcto.Migration.Collection{name: term(), type: term()}) ::
  :ok | {:error, binary()}

Deletes an object

Will delete an object passed, can only be a collection, indexes cannot be deleted here.

Example

iex> drop(collection("users"))
:ok