Skip to content

Commit 981b3e7

Browse files
committed
Fixed example for edgeCollection.
1 parent 4e9e782 commit 981b3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ If a collection with the given name exists but isn't an edge collection, an apro
183183

184184
```js
185185
var db = require('arangojs')();
186-
db.collection('potatos', function (err, collection) {
186+
db.edgeCollection('potatos', function (err, collection) {
187187
if (err) {
188188
// Collection did not exist
189189
console.error(err);

0 commit comments

Comments
 (0)