You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connection, enabled headers
DocumentHandler, added head and fixed get
EdgeHandler, chaned calls to not use inherited calls from documentHandler
GraphHandler, added getVertices and getEdges
* Remove an edge from a collection, identified by the collection id and edge id
330
+
*
331
+
* @throws |Exception
332
+
*
333
+
* @param mixed $collectionId - collection id as string or number
334
+
* @param mixed $edgeId - document id as string or number
335
+
* @param mixed $revision - optional revision of the document to be deleted
336
+
* @param mixed $options - optional, array of options (see below) or the boolean value for $policy (for compatibility prior to version 1.1 of this method)
337
+
* <p>Options are :
338
+
* <li>'policy' - update policy to be used in case of conflict ('error', 'last' or NULL [use default])</li>
339
+
* <li>'waitForSync' - can be used to force synchronisation of the document removal operation to disk even in case that the waitForSync flag had been disabled for the entire collection</li>
340
+
* </p>
341
+
*
342
+
* @return bool - always true, will throw if there is an error
* Replace an existing edge in a collection, identified by collection id and edge id
372
+
*
373
+
* This will update the edge on the server
374
+
*
375
+
* This will throw if the edge cannot be Replaced
376
+
*
377
+
* If policy is set to error (locally or globally through the ConnectionOptions)
378
+
* and the passed edge has a _rev value set, the database will check
379
+
* that the revision of the to-be-replaced edge is the same as the one given.
380
+
*
381
+
* @throws Exception
382
+
*
383
+
* @param mixed $collectionId - collection id as string or number
384
+
* @param mixed $edgeId - edge id as string or number
385
+
* @param Edge $edge - edge to be updated
386
+
* @param mixed $options - optional, array of options (see below) or the boolean value for $policy (for compatibility prior to version 1.1 of this method)
387
+
* <p>Options are :
388
+
* <li>'policy' - update policy to be used in case of conflict ('error', 'last' or NULL [use default])</li>
389
+
* <li>'waitForSync' - can be used to force synchronisation of the edge replacement operation to disk even in case that the waitForSync flag had been disabled for the entire collection</li>
390
+
* </p>
391
+
*
392
+
* @return bool - always true, will throw if there is an error
* Update an existing edge in a collection, identified by collection id and edge id
427
+
* Attention - The behavior of this method has changed since version 1.1
428
+
*
429
+
* This will update the edge on the server
430
+
*
431
+
* This will throw if the edge cannot be updated
432
+
*
433
+
* If policy is set to error (locally or globally through the ConnectionOptions)
434
+
* and the passed edge has a _rev value set, the database will check
435
+
* that the revision of the edge to-be-updated is the same as the one given.
436
+
*
437
+
* @throws Exception
438
+
*
439
+
* @param mixed $collectionId - collection id as string or number
440
+
* @param mixed $edgeId - edge id as string or number
441
+
* @param Edge $edge - patch edge which contains the attributes and values to be updated
442
+
* @param mixed $options - optional, array of options (see below) or the boolean value for $policy (for compatibility prior to version 1.1 of this method)
443
+
* <p>Options are :
444
+
* <li>'policy' - update policy to be used in case of conflict ('error', 'last' or NULL [use default])</li>
445
+
* <li>'keepNull' - can be used to instruct ArangoDB to delete existing attributes instead setting their values to null. Defaults to true (keep attributes when set to null)</li>
446
+
* <li>'waitForSync' - can be used to force synchronisation of the edge update operation to disk even in case that the waitForSync flag had been disabled for the entire collection</li>
447
+
* </p>
448
+
*
449
+
* @return bool - always true, will throw if there is an error
0 commit comments