我想检查一下,如果一个Collection已经存在与ArangoDB-PHP。ArangoDB-PHP Collection exists check
$collectionHandler = new CollectionHandler($arango);
$userCollection = new Collection();
$userCollection->setName('_profiles');
因为我得到以下错误:
Server error: 1207:cannot create collection: duplicate name cannot create collection: duplicate name
我如何检查是否收集已经与ArangoDB-PHP存在?