MCPcopy Index your code
hub / github.com/webpy/webpy / list

Method list

web/db.py:474–477  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

472 self._index = 0
473
474 def list(self):
475 rows = [self._prepare_row(d) for d in self.cursor.fetchall()]
476 self._index += len(rows)
477 return rows
478
479 def _prepare_row(self, row):
480 return storage(dict(zip(self.names, row)))

Callers 4

test_multiple_insertMethod · 0.80
test_whereMethod · 0.80

Calls 1

_prepare_rowMethod · 0.95

Tested by 4

test_multiple_insertMethod · 0.64
test_whereMethod · 0.64