barrel_ex_http v0.2.1 BarrelEx.Sysdoc

Utilities for working with system documents. Usually not to be used, nevertheless I’ll expose the API as I don’t want to limit the BarrelEx client.

Link to this section Summary

Functions

Get a system document with the id doc_id and the response status

Get a system document with the id doc_id

Update a system document with the id doc_id Returning also the response status

Update a system document with the id doc_id

Link to this section Functions

Link to this function get(db, doc_id)
get(String.t(), String.t()) :: {atom(), map()}

Get a system document with the id doc_id and the response status.

Link to this function get!(db, doc_id)
get!(String.t(), String.t()) :: map()

Get a system document with the id doc_id.

Link to this function put(db, doc_id)
put(String.t(), String.t()) :: {atom(), map()}

Update a system document with the id doc_id Returning also the response status.

Link to this function put!(db, doc_id)
put!(String.t(), String.t()) :: map()

Update a system document with the id doc_id.