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(value, column)
.findRow(value, columnName)
Parameters
value
column
columnName
Related getRow()
rows()
findRows()
matchRow()
matchRows()
Updated on Sun Aug 30 12:17:17 2015.
Creative Commons License