class toConnectionSub

# class toConnectionSub | This class is an abstract definition of an actual connection to a database. More...
Definition | `#include <toconnection.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- toConnectionSub ()
- virtual ~toConnectionSub ()
- toQuery * query ()
- void setQuery (toQuery *query)
- virtual void cancel (void)

## Detailed Description

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.

toQuery * query () | ### query

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.

Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.