1
-
2
1
Release notes for the ArangoDB-PHP driver 3.0
3
2
=============================================
4
3
@@ -20,6 +19,46 @@ the 3.0 branch:
20
19
- CollectionHandler::first($collectionId, $count = null)
21
20
- CollectionHandler::last($collectionId, $count = null)
22
21
22
+ Graph functions
23
+ ---------------
24
+
25
+ The ArangoDB PHP driver provided PHP wrapper methods for common graph functions
26
+ that were implemented server-side. When one of these wrapper methods was called,
27
+ the PHP driver assembled an AQL query that called the equivalent graph AQL functions
28
+ on the server. The driver has provided some extra post-filtering options for some
29
+ of the graph functions, but for others it only provided a subset of the features
30
+ available server-side.
31
+
32
+ With ArangoDB 3.0, the graph functionality on the server-side has changed: the
33
+ previously available AQL graph functions that were called by the PHP driver are
34
+ not available anymore in 3.0. This affects the following previously existing
35
+ methods of the PHP driver's `GraphHandler` class, which are now gone in 3.0:
36
+
37
+ - GraphHandler::getNeighborVertices($graph, $vertexExample, $options = array())
38
+ - GraphHandler::getConnectedEdges($graph, $vertexId, $options = array())
39
+ - GraphHandler::getVertices($graph, $options = array())
40
+ - GraphHandler::getEdges($graph, $options = array())
41
+ - GraphHandler::getPaths($graph, $options = array())
42
+ - GraphHandler::getShortestPaths($graph, $startVertexExample = array(), $endVertexExample = array(), $options = array())
43
+ - GraphHandler::getDistanceTo($graph, $startVertexExample = null, $endVertexExample = null, $options = array())
44
+ - GraphHandler::getCommonNeighborVertices($graph, $vertex1Example = null, $vertex2Example = null, $options1 = array(),$options2 = array())
45
+ - GraphHandler::getCommonProperties($graph, $vertex1Example= null, $vertex2Example = null, $options = array())
46
+ - GraphHandler::getAbsoluteEccentricity($graph, $vertexExample = null, $options = array())
47
+ - GraphHandler::getEccentricity($graph, $options = array())
48
+ - GraphHandler::getAbsoluteCloseness($graph, $vertexExample = null, $options = array())
49
+ - GraphHandler::getCloseness($graph, $options = array())
50
+ - GraphHandler::getAbsoluteBetweenness($graph, $options = array())
51
+ - GraphHandler::getBetweenness($graph, $options = array())
52
+ - GraphHandler::getRadius($graph, $options = array())
53
+ - GraphHandler::getDiameter($graph, $options = array())
54
+
55
+ Most of these methods can be emulated by issuing an AQL query from the PHP driver.
56
+ AQL provides provides blocks for computing the vertices, connected edges, and paths
57
+ in a graph or just dedicated collections. As a bonus, by using AQL queries one is
58
+ not limited to the subset of the functionality that was available in the "old"
59
+ graph functions' interfaces, but can use the full functionality and composability
60
+ of AQL.
61
+
23
62
Custom queues
24
63
-------------
25
64
0 commit comments