Ditto  1.0.14
Public Attributes | List of all members
ditto::WriteTransactionResult Struct Reference

Provides information about the result of an operation on a document that was part of a write transaction. More...

Inheritance diagram for ditto::WriteTransactionResult:
ditto::WriteTransactionResultEvicted ditto::WriteTransactionResultInserted ditto::WriteTransactionResultRemoved ditto::WriteTransactionResultUpdated

Public Attributes

DocumentId document_id
 
std::string collection_name
 
WriteTransactionResultType type
 

Detailed Description

Provides information about the result of an operation on a document that was part of a write transaction.

The write transaction result can be one of the following types:

Member Data Documentation

◆ collection_name

std::string ditto::WriteTransactionResult::collection_name

The name of the collection that the operation took place in.

◆ document_id

DocumentId ditto::WriteTransactionResult::document_id

The ID of the document that the write transaction result applies to.

◆ type

WriteTransactionResultType ditto::WriteTransactionResult::type

The type of write transaction result.