arangodb / arangodb-php

PHP ODM for ArangoDB
https://www.arangodb.com
Apache License 2.0
183 stars 43 forks source link

Added simple checker methods to test if Collection/Document/Vertex/Edge exists. #170

Closed olivermack closed 9 years ago

olivermack commented 10 years ago

Hi,

as accidentally slipped in my devel branch and so occurred in #168, here a separated PR for this. I thought it would be nice to use simple if conditions rather than checking exceptions in client code as it would make implementations more intuitive.

I also changed the docs to show the usage of this feature.

Cheers!

jsteemann commented 9 years ago

Sorry, I discovered this 6+ month old PR just today. All blame on me. I couldn't merge automatically due to some other changes, so I manually applied the changes in the devel branch. All the has methods are now available.