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

Method execution_time

couchbase/logic/n1ql.py:158–165  ·  view source on GitHub ↗

Get the total amount of time spent executing the query. Returns: timedelta: The total amount of time spent executing the query.

(self)

Source from the content-addressed store, hash-verified

156 return timedelta(microseconds=us)
157
158 def execution_time(self) -> timedelta:
159 """Get the total amount of time spent executing the query.
160
161 Returns:
162 timedelta: The total amount of time spent executing the query.
163 """
164 us = self._raw.get("execution_time") / 1000
165 return timedelta(microseconds=us)
166
167 def sort_count(self) -> UnsignedInt64:
168 """Get the total number of rows which were part of the sorting for the query.

Callers 11

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

getMethod · 0.45