|
|
status_report(phase)
Report database status. |
source code
|
|
|
|
|
|
|
|
|
|
_query(query_,
debug=0)
Helper function for db_query(). |
source code
|
|
|
|
|
|
|
|
|
|
result(result)
Return an individual result field from the previous query. |
source code
|
|
|
|
error()
Determine whether the previous query caused an error. |
source code
|
|
|
|
affected_rows()
Determine the number of rows changed by the preceding query. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
table_exists(table)
Check if a table exists. |
source code
|
|
|
|
column_exists(table,
column)
Check if a column exists in the given table. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type_map()
This maps a generic data type in combination with its data size
to the engine-specific data type. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
escape_string(data)
Wrapper to escape a string |
source code
|
|
|
|
|