Ditto 4.6.0
Loading...
Searching...
No Matches
WriteTransactionResult.hpp
1#ifndef _DITTO_WRITE_TRANSACTION_RESULT_
2#define _DITTO_WRITE_TRANSACTION_RESULT_
3
4#include "DocumentId.hpp"
5
6#include <string>
7
8namespace ditto {
9
13enum class WriteTransactionResultType {
14 Inserted,
15 Removed,
16 Evicted,
17 Updated,
18};
19
35
36public:
41
45 std::string collection_name;
46
50 WriteTransactionResultType type;
51
52private:
54 WriteTransactionResultType type);
55};
56
69
83
97
111} // namespace ditto
112#endif
ScopedWriteTransaction exposes functionality that allows you to perform multiple operations on the st...
Definition ScopedWriteTransaction.hpp:23
These objects are returned when using find-like functionality on ScopedWriteTransactions....
Definition WriteTransactionPendingCursorOperation.hpp:25
These objects are returned when ScopedWriteTransaction::find_by_id is called.
Definition WriteTransactionPendingIDSpecificOperation.hpp:25
An identifier for a Document.
Definition DocumentId.hpp:21
Represents the write transaction result that will be the value of a WriteTransactionResult when its t...
Definition WriteTransactionResult.hpp:89
Provides information about the result of an operation on a document that was part of a write transact...
Definition WriteTransactionResult.hpp:30
DocumentId document_id
Definition WriteTransactionResult.hpp:40
std::string collection_name
Definition WriteTransactionResult.hpp:45
WriteTransactionResultType type
Definition WriteTransactionResult.hpp:50
Represents the write transaction result that will be the value of a WriteTransactionResult when its t...
Definition WriteTransactionResult.hpp:62
Represents the write transaction result that will be the value of a WriteTransactionResult when its t...
Definition WriteTransactionResult.hpp:75
Represents the write transaction result that will be the value of a WriteTransactionResult when its t...
Definition WriteTransactionResult.hpp:103