Create a document out of t
using codec
and store it at key
.
Fetch a document from the datastore and decode it using codec
If deserialization fails the DBProg will result in a left disjunction.
A short way to get and update by running the data through f
.
Remove the document stored at key key
Update the document to a new value.