class toConnectionSub
|
This class is an abstract definition of an actual connection to a database. More... |
|
|
Public Methods
This class is an abstract definition of an actual connection to a database.
Each toConnection object can have one or more actual connections to the
database depending on long running queries. Normally you will never need to
bother with this class if you aren't creating a new database provider
(toConnectionProvider).
toConnectionSub ()
| toConnectionSub |
Create connection to database.
~toConnectionSub ()
| ~toConnectionSub |
[virtual]
Close connection.
Query current running on connection or NULL.
void setQuery (toQuery *query)
| setQuery |
Set query currently running on connection. NULL means none.
void cancel (void)
| cancel |
[virtual]
Cancel anything running on this sub.