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

Method to_str

couchbase/logic/views.py:69–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 ASCENDING = 'false'
68
69 def to_str(self) -> str:
70 if self.value == 'false':
71 return 'ascending'
72 else:
73 return 'descending'
74
75 @classmethod
76 def from_str(cls, value: str) -> ViewOrdering:

Callers 4

consistencyMethod · 0.45
orderMethod · 0.45
on_errorMethod · 0.45
namespaceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected