ex_orient v0.2.0 ExOrient.DB.Graph

Provides Graph commands

Summary

Functions

Create an edge. Examples

Create a vertex or edge. Examples

Run a delete vertex or edge command. Examples

Functions

create_edge(opts \\ [])

Create an edge. Examples:

ExOrient.DB.create(edge: "E", from: "#15:5", to: "#15:6", content: %{name: "Hello"})
create_vertex(opts \\ [])

Create a vertex or edge. Examples:

ExOrient.DB.create_vertex(vertex: "V", set: [name: "Steve"])

ExOrient.DB.create_vertex(vertex: "V", content: %{name: "Bob"})
delete(opts \\ [])

Run a delete vertex or edge command. Examples:

DB.delete(vertex: "V", where: %{make: "Ford"})

DB.delete(edge: "E", where: %{type: "Truck"})