Name | findRows() |
||||||
---|---|---|---|---|---|---|---|
Examples |
def setup(): table = Table() table.addColumn("name") table.addColumn("type") newRow = table.addRow() newRow.setString("name", "Lion") newRow.setString("type", "Mammal") newRow = table.addRow() newRow.setString("name", "Snake") newRow.setString("type", "Reptile") newRow = table.addRow() newRow.setString("name", "Mosquito") newRow.setString("type", "Insect") newRow = table.addRow() newRow.setString("name", "Lizard") newRow.setString("type", "Reptile") for row in table.findRows("Reptile", "type"): print(row.getString("name") + ": " + row.getString("type")) # Sketch prints: # Snake: Reptile # Lizard: Reptile | ||||||
Description | |||||||
Syntax | .findRows( | ||||||
Parameters |
| ||||||
Related |
getRow() rows() findRow() matchRow() matchRows() |
Cover
Reference
Tutorials
Examples
Bugs