barrel_ex_http v0.2.0 BarrelEx.Document View Source

API for interacting with a BarrelDB document.

Link to this section Summary

Link to this section Functions

Link to this function create(db, doc \\ %{}) View Source
create(String.t(), map() | none()) :: {atom(), map()}
Link to this function create!(db, doc \\ %{}) View Source
create!(String.t(), map() | none()) :: map()
Link to this function delete(db, doc_id, e_tag \\ "") View Source
delete(String.t(), String.t(), String.t() | none()) :: {atom(), map()}
Link to this function delete!(db, doc_id, e_tag \\ "") View Source
delete!(String.t(), String.t(), String.t() | none()) :: map()
Link to this function get(db, options) View Source
get(String.t(), list()) :: {atom(), map()}
get(String.t(), map()) :: {atom(), map()}
get(String.t(), String.t()) :: {atom(), map()}
Link to this function get!(db, options) View Source
get!(String.t(), list()) :: map()
get!(String.t(), map()) :: map()
get!(String.t(), String.t()) :: {atom(), map()}
Link to this function update(db, doc_id, doc, e_tag \\ "", edit \\ false) View Source
update(String.t(), String.t(), map(), String.t(), boolean()) ::
  {atom(), map()}
update(String.t(), String.t(), map(), String.t(), boolean()) :: map()
Link to this function update!(db, doc_id, doc, e_tag \\ "", edit \\ false) View Source