(all-connected-vertices v & labels)
Returns vertices connected to this vertex with the given labels
Returns vertices connected to this vertex with the given labels
(all-edges-of v & labels)
Returns edges that this vertex is part of, with given labels
Returns edges that this vertex is part of, with given labels
(connected-in-vertices v & labels)
Returns vertices connected to this vertex by an inbound edge with the given labels
Returns vertices connected to this vertex by an inbound edge with the given labels
(connected-out-vertices v & labels)
Returns vertices connected to this vertex by an outbound edge with the given labels
Returns vertices connected to this vertex by an outbound edge with the given labels
(connected-vertices-of v direction & labels)
Returns vertices connected to this vertex with a certain direction by the given labels
Returns vertices connected to this vertex with a certain direction by the given labels
(create! g)
(create! g m)
Create a vertex, optionally with the given property map.
Create a vertex, optionally with the given property map.
(create-with-id! g id)
(create-with-id! g id m)
Create a vertex, optionally with the given property map.
Create a vertex, optionally with the given property map.
(edges-of v direction & labels)
Returns edges that this vertex is part of with direction and with given labels
Returns edges that this vertex is part of with direction and with given labels
(find-by-id g & ids)
Retrieves nodes by id from the given graph.
Retrieves nodes by id from the given graph.
(find-by-kv g k v)
Given a key and a value, returns the set of all vertices that sastify the pair.
Given a key and a value, returns the set of all vertices that sastify the pair.
(get-all-vertices g)
Returns all vertices.
Returns all vertices.
(incoming-edges-of v & labels)
Returns incoming (inbound) edges that this vertex is part of, with given labels
Returns incoming (inbound) edges that this vertex is part of, with given labels
(outgoing-edges-of v & labels)
Returns outgoing (outbound) edges that this vertex is part of, with given labels
Returns outgoing (outbound) edges that this vertex is part of, with given labels
(refresh g vertex)
Gets a vertex back from the database and refreshes it to be usable again.
Gets a vertex back from the database and refreshes it to be usable again.
(remove! g vertex)
Remove a vertex from the given graph.
Remove a vertex from the given graph.
(to-map vertex)
Returns a persistent map representing the vertex.
Returns a persistent map representing the vertex.
(unique-upsert! & args)
Like upsert!, but throws an error when more than one element is returned.
Like upsert!, but throws an error when more than one element is returned.
(unique-upsert-with-id! & args)
Like upsert!, but throws an error when more than one element is returned.
Like upsert!, but throws an error when more than one element is returned.
(upsert! g k m)
Given a key and a property map, upsert! either creates a new node with that property map or updates all nodes with the given key value pair to have the new properties specifiied by the map. Always returns the set of vertices that were just update or created.
Given a key and a property map, upsert! either creates a new node with that property map or updates all nodes with the given key value pair to have the new properties specifiied by the map. Always returns the set of vertices that were just update or created.
(upsert-with-id! g id k m)
Given a key and a property map, upsert! either creates a new node with that property map or updates all nodes with the given key value pair to have the new properties specifiied by the map. Always returns the set of vertices that were just update or created.
Given a key and a property map, upsert! either creates a new node with that property map or updates all nodes with the given key value pair to have the new properties specifiied by the map. Always returns the set of vertices that were just update or created.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close