ex_orient_rest v0.1.2 ExOrientRest.Connection
Link to this section Summary
Link to this section Functions
Link to this function
batch(conn, type, content, params \\ %{})
batch(ExOrientRest.Types.db_connection(), ExOrientRest.Types.db_post_requests(), String.t(), map()) :: {:ok, map()} | {:error, ExOrientRest.Types.err()}
Link to this function
connect(props, opts)
connect(ExOrientRest.Types.db_properties(), map()) :: {:ok, ExOrientRest.Types.db_connection()} | {:error, ExOrientRest.Types.err()}
Link to this function
delete(conn, type, params \\ %{})
delete(ExOrientRest.Types.db_connection(), ExOrientRest.Types.db_delete_requests(), map()) :: {:ok} | {:error, ExOrientRest.Types.err()}
Link to this function
get(conn, type, params \\ %{})
get(ExOrientRest.Types.db_connection(), ExOrientRest.Types.db_get_requests(), map()) :: {:ok, map()} | {:error, ExOrientRest.Types.err()}
Link to this function
head(conn, type, params \\ %{})
head(ExOrientRest.Types.db_connection(), ExOrientRest.Types.db_head_requests(), map()) :: {:ok, map()} | {:error, ExOrientRest.Types.err()}
Link to this function
patch(conn, type, content, params \\ %{})
patch(ExOrientRest.Types.db_connection(), ExOrientRest.Types.db_patch_requests(), String.t(), map()) :: {:ok, map()} | {:error, ExOrientRest.Types.err()}
Link to this function
post(conn, type, content, params \\ %{})
post(ExOrientRest.Types.db_connection(), ExOrientRest.Types.db_post_requests(), String.t(), map()) :: {:ok, map()} | {:error, ExOrientRest.Types.err()}
Link to this function
put(conn, type, content, params \\ %{})
put(ExOrientRest.Types.db_connection(), ExOrientRest.Types.db_put_requests(), String.t(), map()) :: {:ok, map()} | {:error, ExOrientRest.Types.err()}