| Name | findRow() |
||||||
|---|---|---|---|---|---|---|---|
| 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")
result = table.findRow("Reptile", "type")
print(result.getString("name")) # Prints "Snake"
| ||||||
| Description | |||||||
| Syntax | .findRow( | ||||||
| Parameters |
| ||||||
| Related |
getRow() rows() findRows() matchRow() matchRows() |
Cover
Reference
Tutorials
Examples
Bugs
