I think the exception catching could work. Thanks.
On Mon, 13 Mar 2017, 4:29 a.m. mpv1989, <[email protected]> wrote:
> The method `ArangoCollection.drop()` throws an exception if the collection
> does not exists. For tests it should be enough to surround the call with
> `try { ... } catch(ArangoDBException e){}`
>
> Am Freitag, 10. März 2017 22:11:58 UTC+1 schrieb Kevin Sheppard:
>
> Is there "drop collection if exists" functionality in the ArangoDB Shell
> or Java driver? Would be quite handy for tests.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "ArangoDB" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/arangodb/F5sh0qjbq5c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
- Kevin
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.