Home |All Classes |Grouped Classes |Index |Search

Class CL_DBConnectionProvider

Database connection provider. More...

Derived from:

None

Derived by:

None

Group:

System (Database)

#include <ClanLib/database.h>

Class Members:


Attributes:

is_row

Returns true if current execution step resulted in a row.

get_last_insert_rowid

Returns the 'rowid' for the last inserted record.

get_columns

Returns the number of columns for the current row.

get_name

Returns the name of a column index.

get_index

Returns the column index for a given column name.

get_decltype

Get declaration type for column.

get_blob

Get BLOB object for column.

get_blob_raw

Get BLOB object for column.

get_blob_size

Get BLOB size for column.

get_double

Get double value for column.

get_int

Get integer value for column.

get_text

Get text value for column.


Operations:

create_command_provider

Creates a DB command provider for this connection.

execute

Begin execution of database command.

next_row

Retrieve next row for currently executed command.