close() Close the cursor now (rather than whenever __del__ is called). The cursor
dbm.ndbm.open(filename[, flag[, mode]]) Open a dbm database and return a ndbm object. The filename argument
create_function(name, num_params, func) Creates a user-defined function that you can later use from within SQL statements under
total_changes Returns the total number of database rows that have been modified, inserted, or deleted since the database connection
execute(sql[, parameters]) This is a nonstandard shortcut that creates a cursor object by calling the cursor()
row_factory You can change this attribute to a callable that accepts the cursor and the original row as a tuple and will return
executescript(sql_script) This is a nonstandard convenience method for executing multiple SQL statements at once. It issues
object.__getnewargs_ex__() In protocols 4 and newer, classes that implements the __getnewargs_ex__() method can
fetchone() Fetches the next row of a query result set, returning a single sequence, or
interrupt() You can call this method from a different thread to abort any queries that might be executing on the connection
Page 1 of 10