Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_insert
Method · 0.80
test_where
Method · 0.80
test_limit_with_unsafe_value
Method · 0.80
test_offset_with_unsafe_value
Method · 0.80
Calls
1
_prepare_row
Method · 0.95
Tested by
4
test_multiple_insert
Method · 0.64
test_where
Method · 0.64
test_limit_with_unsafe_value
Method · 0.64
test_offset_with_unsafe_value
Method · 0.64