MCPcopy Index your code
hub / github.com/couchbase/couchbase-python-client / ExistsResult

Class ExistsResult

couchbase/result.py:515–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513
514
515class ExistsResult(Result):
516
517 @property
518 def exists(self) -> bool:
519 """
520 bool: True if the document exists, false otherwise.
521 """
522 return self._orig.raw_result.get('document_exists', False)
523
524 def __repr__(self):
525 return "ExistsResult:{}".format(self._orig)
526
527
528class MultiExistsResult:

Callers 3

existsMethod · 0.90
existsMethod · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected