Gda.PStmt – libgda-6.0 Reference Manual
Packages
libgda-6.0
Gda
PStmt
PStmt
copy_contents
get_gda_statement
get_ncols
get_param_ids
get_sql
get_tmpl_columns
get_types
set_cols
set_gda_statement
set_param_ids
set_sql
set_tmpl_columns
PStmt
Object Hierarchy:
Description:
[
CCode
( type_id =
"gda_pstmt_get_type ()"
) ]
public
class
PStmt
:
Object
Namespace:
Gda
Package:
libgda-6.0
Content:
Creation methods:
protected
PStmt
()
Methods:
public
void
copy_contents
(
PStmt
dest)
Copies
this
's data to
dest
public
Statement
get_gda_statement
()
Get a pointer to the
Statement
which led to the creation of this prepared statement.
public
int
get_ncols
()
public
unowned
SList
<
string
>
get_param_ids
()
List of parameters' IDs (as gchar *)
public
unowned
string
get_sql
()
Actual SQL code used for this prepared statement, mem freed by GdaPStmt
public
unowned
SList
<
Column
>
get_tmpl_columns
()
List of
Column
objects which data models created from this prepared statement can copy
public
unowned
Type
[]
get_types
()
Set column's types for statement.
public
void
set_cols
(
owned
Type
[] types)
Set column's types for statement.
public
void
set_gda_statement
(
Statement
? stmt)
Informs
this
that it corresponds to the preparation of the
stmt
statement
public
void
set_param_ids
(
owned
SList
<
string
> @params)
List of parameters' IDs (as gchar *), list is stolen
public
void
set_sql
(
string
sql)
Set SQL code used for this prepared statement, mem freed by GdaPStmt
public
void
set_tmpl_columns
(
owned
SList
<
Column
> columns)
Set the list of
Column
objects which data models created from this prepared statement can copy.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref