gda_recordset_open_txt

Nombre

gda_recordset_open_txt -- 

Synopsis

gint gda_recordset_open_txt (Gda_Recordset* rs, gchar* txt, GDA_CursorType cursor_type, GDA_LockType lock_type, gulong options);

Arguments

rs

the recordset

txt

the command text

cursor_type

the type of the cursor used. Currently only a forward only cursor is implemented

lock_type

the type of locks used for the command. Currently only readonly type of locking is supported.

options

currently not implemented. Used to identify how to parse the txt.

Description

This function opens a recordset. The recordset is filled with the output of txt. Before this function is called various parameters of the recordst might be changed. This is the most featurefull function for retrieving results from a database.

Returns

0 if everytrhing is okay, -1 on error