All Classes |Grouped Classes |Index

Class CL_DBReader

Database reader. More...

Derived from:

None

Derived by:

None

Group:

System (Database)

#include <ClanLib/database.h>

Class Members:

Construction:

CL_DBReader

Constructs a database reader.


Attributes:

get_column_count

Returns the number of columns in the result set.

get_column_name

Returns the name of the specified column index.

get_name_index

Returns the index of the specified column name.

get_column_value

Retrieves the value of the specified column.

get_column_string

Retrieves the value of the specified column as a string.

get_column_bool

Retrieves the value of the specified column as a boolean.

get_column_int

Retrieves the value of the specified column as an integer.

get_column_double

Retrieves the value of the specified column as a double.

get_column_datetime

Retrieves the value of the specified column as a CL_DateTime .

get_column_binary

Retrieves the value of the specified column as a CL_DataBuffer .

get_provider

Returns the provider interface for this reader.


Operations:

retrieve_row

Retrieves a row from the command execution result.

close

Closes the database reader.