1.4.7 Utility Methods

These methods are also provided to make life easier:

tableExists( table)
Returns True if the table exists in the database, False otherwise
table
The name of the table

columnExists( column, table)
Returns True if the column exists in the table, False otherwise
column
The name of the column
table
The name of the table

columns( )
Returns a tuple containing the names of the columns in the table
table
The name of the table

See About this document... for information on suggesting changes.