MCPcopy Index your code
hub / github.com/clips/pattern / rows

Method rows

pattern/db/__init__.py:901–904  ·  view source on GitHub ↗

Returns a list of all the rows in the table.

(self)

Source from the content-addressed store, hash-verified

899 return abs(self.name, field)
900
901 def rows(self):
902 """ Returns a list of all the rows in the table.
903 """
904 return self.db.execute("select * from `%s`;" % self.name)
905
906 def filter(self, *args, **kwargs):
907 """ Returns the rows that match the given constraints (using equals + AND):

Callers 9

__iter__Method · 0.95
__getitem__Method · 0.95
datasheetMethod · 0.95
xmlFunction · 0.45
test_tableMethod · 0.45
test_queryMethod · 0.45
renderMethod · 0.45
01-database.pyFile · 0.45

Calls 1

executeMethod · 0.45

Tested by 4

test_tableMethod · 0.36
test_queryMethod · 0.36
renderMethod · 0.36