Creates a :class:`~.scope.Scope` instance of the default scope. Returns: :class:`~.scope.Scope`: A :class:`~.scope.Scope` instance of the default scope.
(self)
| 68 | self._impl.close_bucket() |
| 69 | |
| 70 | def default_scope(self) -> Scope: |
| 71 | """Creates a :class:`~.scope.Scope` instance of the default scope. |
| 72 | |
| 73 | Returns: |
| 74 | :class:`~.scope.Scope`: A :class:`~.scope.Scope` instance of the default scope. |
| 75 | |
| 76 | """ |
| 77 | return self.scope(Scope.default_name()) |
| 78 | |
| 79 | def scope(self, name: str) -> Scope: |
| 80 | """Creates a :class:`~couchbase.scope.Scope` instance of the specified scope. |
no test coverage detected