31#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
38class collection_manager_impl;
61 -> std::future<std::pair<
error, std::vector<management::bucket::scope_spec>>>;
75 std::string collection_name,
81 std::string collection_name,
84 -> std::future<error>;
97 std::string collection_name,
103 std::string collection_name,
106 -> std::future<error>;
119 std::string collection_name,
124 std::string collection_name,
126 -> std::future<error>;
142 const -> std::future<error>;
165 std::shared_ptr<collection_manager_impl> impl_;
Provides access to Couchbase bucket.
Definition bucket.hxx:45
Definition collection_manager.hxx:47
auto create_scope(std::string scope_name, const create_scope_options &options={}) const -> std::future< error >
void get_all_scopes(const get_all_scopes_options &options, get_all_scopes_handler &&handler) const
Get all scopes on the bucket.
void drop_collection(std::string scope_name, std::string collection_name, const drop_collection_options &options, drop_collection_handler &&handler) const
Drops a collection.
auto drop_collection(std::string scope_name, std::string collection_name, const drop_collection_options &options={}) const -> std::future< error >
void create_scope(std::string scope_name, const create_scope_options &options, create_scope_handler &&handler) const
Creates a scope on the bucket.
void create_collection(std::string scope_name, std::string collection_name, const create_collection_settings &settings, const create_collection_options &options, create_collection_handler &&handler) const
Creates a new collection.
auto drop_scope(std::string scope_name, const drop_scope_options &options={}) const -> std::future< error >
auto create_collection(std::string scope_name, std::string collection_name, const create_collection_settings &settings={}, const create_collection_options &options={}) const -> std::future< error >
auto update_collection(std::string scope_name, std::string collection_name, const update_collection_settings &settings, const update_collection_options &options={}) const -> std::future< error >
auto get_all_scopes(const get_all_scopes_options &options={}) const -> std::future< std::pair< error, std::vector< management::bucket::scope_spec > > >
void drop_scope(std::string scope_name, const drop_scope_options &options, drop_scope_handler &&handler) const
Drops a scope on the bucket.
void update_collection(std::string scope_name, std::string collection_name, const update_collection_settings &settings, const update_collection_options &options, update_collection_handler &&handler) const
Updates an existing collection.
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
std::function< void(error)> drop_collection_handler
Definition drop_collection_options.hxx:40
std::function< void(error)> create_scope_handler
Definition create_scope_options.hxx:40
std::function< void(error, std::vector< management::bucket::scope_spec >)> get_all_scopes_handler
Definition get_all_scopes_options.hxx:42
std::function< void(error)> drop_scope_handler
Definition drop_scope_options.hxx:40
std::function< void(error)> update_collection_handler
Definition update_collection_options.hxx:73
std::function< void(error)> create_collection_handler
Definition create_collection_options.hxx:73
Definition create_collection_options.hxx:28
The settings to use when creating the collection.
Definition create_collection_options.hxx:59
Definition create_scope_options.hxx:27
Definition drop_collection_options.hxx:27
Definition drop_scope_options.hxx:27
Definition get_all_scopes_options.hxx:29
Definition update_collection_options.hxx:28
The settings that should be updated for the collection.
Definition update_collection_options.hxx:59