A DbGraphStore object may be used for all the standard management of
node and edge information but may not be used for path queries.
Use the buildSubGraph() API to pull path serchable graphs out of the
DBGraphStore.
|
|
|
_doSelect(self,
query,
*args)
For now, a fetchall based select wrapper. |
source code
|
|
|
_doInsert(self,
query,
*args)
Standard insert wrapper. |
source code
|
|
|
_doUpdate(self,
query,
*args)
Do an update with 'returning' syntax to know if an update was made. |
source code
|
|
|
_doInsertRetId(self,
query,
*args)
Insert with a returning value. |
source code
|
|
|
|
|
addNode(self,
nodeid=None,
ninfo=None,
**kwargs) |
source code
|
|
|
|
|
delNode(self,
nid)
Delete the given node (and his edges) from the graph dbase. |
source code
|
|
|
|
|
getNodeInfo(self,
nid,
pname,
default=None) |
source code
|
|
|
|
|
|
|
addEdge(self,
fromid,
toid,
eid=None,
einfo=None) |
source code
|
|
|
|
|
|
|
|
|
getEdgeInfo(self,
eid,
pname,
default=None) |
source code
|
|
|
searchNodes(self,
propname,
propval=None)
Return (but do not cache forward) the nid's of nodes which
have a property with the following name (and optionally, value). |
source code
|
|
|
buildSubGraph(self)
Return a subgraph which may be used to populate from the DB and do
path searching. |
source code
|
|