27 std::string scope_name,
28 std::string collection_name);
34 return bucket == keyspace.bucket &&
scope == keyspace.scope &&
50 template<typename OStream>
53 os <<
"transaction_keyspace{";
54 os <<
"bucket: " << keyspace.bucket;
55 os <<
", scope: " << keyspace.scope;
56 os <<
", collection: " << keyspace.collection;
Provides access to Couchbase bucket.
Definition bucket.hxx:45
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
Definition transactions.hxx:28
Offline, serializable representation of a bucket, scope, and collection.
Definition transaction_keyspace.hxx:25
transaction_keyspace(std::string bucket_name, std::string scope_name, std::string collection_name)
std::string scope
Definition transaction_keyspace.hxx:62
std::string bucket
Definition transaction_keyspace.hxx:61
auto operator==(const transaction_keyspace &keyspace) const -> bool
Definition transaction_keyspace.hxx:32
std::string collection
Definition transaction_keyspace.hxx:63
auto valid() const -> bool
Check if a keyspace is valid.
transaction_keyspace(const std::string &bucket_name)