MCPcopy Create free account
hub / github.com/BaseXdb/basex / iter

Method iter

basex-api/src/main/python/BaseXClient/BaseXClient.py:276–279  ·  view source on GitHub ↗

iterate while the query returns items

(self)

Source from the content-addressed store, hash-verified

274 self.__exc(chr(14), self.__id + chr(0) + value + chr(0) + datatype)
275
276 def iter(self):
277 """iterate while the query returns items"""
278 self.__session.send(chr(4) + self.__id)
279 return self.__session.iter_receive()
280
281 def execute(self):
282 """Execute the query and return the result"""

Callers

nothing calls this directly

Calls 2

iter_receiveMethod · 0.80
sendMethod · 0.45

Tested by

no test coverage detected