Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
transaction_query_result.hxx
Go to the documentation of this file.
1/*
2 * Copyright 2021-Present Couchbase, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16#pragma once
17
19
21{
27{
28public:
29 transaction_query_result(query_meta_data meta_data, std::vector<codec::binary> rows)
30 : query_result(std::move(meta_data), std::move(rows))
31 {
32 }
33
38};
39} // namespace couchbase::transactions
Stores any non-rows results related to the execution of a particular N1QL query.
Definition query_meta_data.hxx:39
Represents result of cluster::query() and scope::query() calls.
Definition query_result.hxx:42
auto meta_data() const -> const query_meta_data &
Returns the query_meta_data giving access to the additional metadata associated with this query.
Definition query_result.hxx:69
Transactional queries will return a transaction_query_result.
Definition transaction_query_result.hxx:27
transaction_query_result()
Definition transaction_query_result.hxx:34
transaction_query_result(query_meta_data meta_data, std::vector< codec::binary > rows)
Definition transaction_query_result.hxx:29
Definition transactions.hxx:28