Part of canonical.testing.mockdb View In Hierarchy
The real work is done by the associated ScriptRecorder or ScriptPlayer using the common interface, making this class independent on what mode the mock database is running in.
| Method | __init__ | Undocumented |
| Method | description | As per DB-API, pulled from the script entry. |
| Method | rowcount | Return the rowcount only if all the results have been consumed. |
| Method | close | As per DB-API. |
| Method | execute | As per DB-API. |
| Method | executemany | As per DB-API. |
| Method | fetchone | As per DB-API. |
| Method | fetchmany | As per DB-API. |
| Method | fetchall | As per DB-API. |
| Method | nextset | As per DB-API. |
| Method | setinputsizes | As per DB-API. |
| Method | setoutputsize | As per DB-API. |
| Method | _checkClosed | Raise an exception if the cursor or connection is closed. |