ex_orient_rest v0.1.2 ExOrientRest

Link to this section Summary

Link to this section Functions

Link to this function add_properties(conn, class, props)
Link to this function batch(conn, ops, xaction \\ true)
batch(ExOrientRest.Types.db_connection(), List, boolean()) ::
  {:ok} |
  {:error, ExOrientRest.Types.err()}
Link to this function command(conn, language, content)
command(ExOrientRest.Types.db_connection(), String.t(), map()) ::
  {:ok, String.t()} |
  {:error, ExOrientRest.Types.err()}
Link to this function connect(db, opts \\ %{})
Link to this function create_class(conn, class)
Link to this function create_database(props, name, storage \\ "plocal")
Link to this function create_document(conn, class, content)
create_document(ExOrientRest.Types.db_connection(), String.t(), map()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}
Link to this function delete_database(props, name)
delete_database(map(), String.t()) ::
  {:ok} |
  {:error, ExOrientRest.Types.err()}
Link to this function delete_document(conn, rid)
delete_document(ExOrientRest.Types.db_connection(), String.t()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}
Link to this function document_exists?(conn, rid)
document_exists?(ExOrientRest.Types.db_connection(), String.t()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}
Link to this function get_class(conn, class)
get_class(ExOrientRest.Types.db_connection(), String.t()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}
Link to this function get_cluster(conn, cluster)
get_cluster(ExOrientRest.Types.db_connection(), String.t()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}
Link to this function get_database(props, name)
get_database(map(), String.t()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}
Link to this function get_document(conn, rid)
get_document(ExOrientRest.Types.db_connection(), String.t()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}
Link to this function get_document(conn, rid, fetch_plan)
get_document(ExOrientRest.Types.db_connection(), String.t(), String.t()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}
Link to this function list_databases(conn)
Link to this function replace_document(conn, frame)
replace_document(ExOrientRest.Types.db_connection(), map()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}
Link to this function update_document(conn, frame)
update_document(ExOrientRest.Types.db_connection(), map()) ::
  {:ok, map()} |
  {:error, ExOrientRest.Types.err()}