ICouch v0.6.2 ICouch.StreamEnd View Source

Struct module for stream ends.

The document stream ends when all attachments have been streamed.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %ICouch.StreamEnd{
  name: String.t() | {String.t(), String.t()} | nil,
  ref: pid() | reference(),
  type: :document | :attachment
}

Link to this section Functions

Link to this function

for_attachment(ref, doc_id, filename)

View Source
Link to this function

for_document(ref, doc_id)

View Source