SQLRow#
- class dbastable.SQLRow(db, table, row)#
Bases:
objectHandle and SQL table row interfacing with the DB.
- Parameters:
- dbSQLDatabase
The parent database object.
- tablestr
The name of the table in the database.
- rowint
The row index in the table.
Attributes Summary
Get the column names of the current table.
Get the index of the current row.
Get the table name.
Get the values of the current row.
Methods Summary
as_dict()Get the row as a dict.
items()Get the items of the current row.
keys()Get the keys of the current row.
Attributes Documentation
- column_names#
Get the column names of the current table.
- index#
Get the index of the current row.
- table#
Get the table name.
- values#
Get the values of the current row.
Methods Documentation
- as_dict()#
Get the row as a dict.
- items()#
Get the items of the current row.
- keys()#
Get the keys of the current row.