Offline, serializable representation of a bucket, scope, and collection.
More...
#include <couchbase/transactions/transaction_keyspace.hxx>
Offline, serializable representation of a bucket, scope, and collection.
◆ transaction_keyspace() [1/2]
| transaction_keyspace |
( |
std::string | bucket_name, |
|
|
std::string | scope_name, |
|
|
std::string | collection_name ) |
◆ transaction_keyspace() [2/2]
| transaction_keyspace |
( |
const std::string & | bucket_name | ) |
|
|
explicit |
◆ operator==()
◆ valid()
| auto valid |
( |
| ) |
const->bool |
Check if a keyspace is valid.
A valid transaction_keyspace must have the bucket, scope, and collection all set. Note that both the scope and collection default to _default, but there is no default for the bucket so it must be set.
- Returns
- true if valid.
◆ operator<<
template<typename OStream>
◆ bucket
◆ collection
◆ scope
The documentation for this struct was generated from the following file: