class SQLConnection

SQL Connection. More...

Definition#include <sqlconnection.h>
InheritsSQLConnectionInterface [virtual public]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

SQLConnection ist die Verbindung zur Datenbank.

SQLConnection (PgDatabase* database, SQLMonitorInterface* monitor = NULL)

Constructor.

Parameters:
databasePgDatabase-Objekt.
monitorSQLMonitorInterface-Objekt.

void beginTransaction ()

Implementation von SQLConnectionInterface.

See also: beginTransaction

Reimplemented from SQLConnectionInterface

void commitTransaction ()

Implementation von SQLConnectionInterface.

See also: commitTransaction

Reimplemented from SQLConnectionInterface

void rollbackTransaction ()

Implementation von SQLConnectionInterface.

See also: rollbackTransaction

Reimplemented from SQLConnectionInterface

void execute (const char* command)

Implementation von SQLConnectionInterface.

See also: execute

Reimplemented from SQLConnectionInterface

void createCursor (const char* cursorName, const char* command)

Implementation von SQLConnectionInterface.

See also: createCursor

Reimplemented from SQLConnectionInterface

void fetchCursor (const char* cursorName, const char* what)

Implementation von SQLConnectionInterface.

See also: fetchCursor

Reimplemented from SQLConnectionInterface

void deleteCursor (const char* cursorName)

Implementation von SQLConnectionInterface.

See also: deleteCursor

Reimplemented from SQLConnectionInterface

cardinal getTuples ()

Implementation von SQLConnectionInterface.

See also: getTuples

Reimplemented from SQLConnectionInterface

cardinal getFields ()

Implementation von SQLConnectionInterface.

See also: getFields

Reimplemented from SQLConnectionInterface

const char* getField (cardinal col)

Implementation von SQLConnectionInterface.

See also: getField

Reimplemented from SQLConnectionInterface

const char* getValue (cardinal row, cardinal col)

Implementation von SQLConnectionInterface.

See also: getValue

Reimplemented from SQLConnectionInterface

void optimize (const char* tableName)

Implementation von SQLConnectionInterface.

See also: optimize

Reimplemented from SQLConnectionInterface

SQLMonitorInterface* getMonitor ()
[const]

Implementation von SQLConnectionInterface.

See also: getMonitor

Reimplemented from SQLConnectionInterface

void setMonitor (SQLMonitorInterface* monitor)

Implementation von SQLConnectionInterface.

See also: setMonitor

Reimplemented from SQLConnectionInterface