28class attempt_context_impl;
29class transaction_get_result;
30class transaction_links;
31class document_metadata;
69 template<
typename Document,
71 std::enable_if_t<!codec::is_transcoder_v<Document>,
bool> =
true,
72 std::enable_if_t<codec::is_transcoder_v<Transcoder>,
bool> =
true>
75 return Transcoder::template decode<Document>(content());
83 template<
typename Transcoder, std::enable_if_t<codec::is_transcoder_v<Transcoder>,
bool> = true>
84 [[nodiscard]]
auto content_as() const -> typename Transcoder::document_type
86 return Transcoder::decode(content());
94 [[nodiscard]]
auto id() const -> const std::
string&;
100 std::shared_ptr<couchbase::core::transactions::transaction_get_result> base)
101 : base_(std::move(base))
105 [[nodiscard]]
auto content() const -> const codec::encoded_value&;
110 [[nodiscard]] auto
bucket() const -> const std::
string&;
111 [[nodiscard]] auto
scope() const -> const std::
string&;
112 [[nodiscard]] auto
collection() const -> const std::
string&;
Provides access to Couchbase bucket.
Definition bucket.hxx:45
CAS is a special type that represented in protocol using unsigned 64-bit integer, but only equality c...
Definition cas.hxx:34
The collection provides access to all collection APIs.
Definition collection.hxx:70
The scope identifies a group of collections and allows high application density as a result.
Definition scope.hxx:47
The representation of the document in context of distributed transaction.
Definition transaction_get_result.hxx:57
auto content_as() const -> typename Transcoder::document_type
Content of the document.
Definition transaction_get_result.hxx:84
auto id() const -> const std::string &
Get document id.
friend class couchbase::core::transactions::attempt_context_impl
Definition transaction_get_result.hxx:108
friend class couchbase::core::transactions::transaction_get_result
Definition transaction_get_result.hxx:107
auto content_as() const -> Document
Content of the document.
Definition transaction_get_result.hxx:73
The transactions object is used to initiate a transaction.
Definition transactions.hxx:39
json_transcoder< tao_json_serializer > default_json_transcoder
Definition default_json_transcoder.hxx:28
Definition transaction_get_result.hxx:27
Definition transactions.hxx:28
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28