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

Method rows

couchbase/result.py:1252–1263  ·  view source on GitHub ↗

The rows which have been returned by the search query. .. note:: If using the *acouchbase* API be sure to use ``async for`` when looping over rows. Returns: Iterable: Either an iterable or async iterable.

(self)

Source from the content-addressed store, hash-verified

1250 return "SearchResult:{}".format(self._request)
1251
1252 def rows(self):
1253 """The rows which have been returned by the search query.
1254
1255 .. note::
1256 If using the *acouchbase* API be sure to use ``async for`` when looping over rows.
1257
1258 Returns:
1259 Iterable: Either an iterable or async iterable.
1260 """
1261 if isinstance(self._request, AsyncFullTextSearchRequest):
1262 return self.__aiter__()
1263 return self.__iter__()
1264
1265 def metadata(self):
1266 """The meta-data which has been returned by the search query.

Callers

nothing calls this directly

Calls 2

__aiter__Method · 0.95
__iter__Method · 0.95

Tested by

no test coverage detected