MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / collections

Method collections

couchbase/bucket.py:192–200  ·  view source on GitHub ↗

Get a :class:`~couchbase.management.collections.CollectionManager` which can be used to manage the scopes and collections of this bucket. Returns: :class:`~couchbase.management.collections.CollectionManager`: A :class:`~couchbase.management.collections.Collectio

(self)

Source from the content-addressed store, hash-verified

190 return self._impl.view_query(req)
191
192 def collections(self) -> CollectionManager:
193 """
194 Get a :class:`~couchbase.management.collections.CollectionManager` which can be used to manage the scopes and collections
195 of this bucket.
196
197 Returns:
198 :class:`~couchbase.management.collections.CollectionManager`: A :class:`~couchbase.management.collections.CollectionManager` instance.
199 """ # noqa: E501
200 return CollectionManager(self._impl._client_adapter, self.name, self._impl.observability_instruments)
201
202 def view_indexes(self) -> ViewIndexManager:
203 """

Callers 2

collectionmgmt.pyFile · 0.45
mainFunction · 0.45

Calls 1

CollectionManagerClass · 0.90

Tested by

no test coverage detected