Statement
Object Hierarchy:
Description:
[ CCode ( type_id = "gda_statement_get_type ()" ) ]
public class Statement : Object
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public bool check_structure () throws Error
Checks that this's structure is
correct.
- public bool check_validity (Connection? cnc) throws Error
If cnc
is not null
then checks that every
object (table, field, function) used in this actually exists in cnc
's database
- public Statement copy ()
Copy constructor
- public bool get_parameters (out Set out_params) throws Error
Get a new Set object which
groups all the execution parameters which this needs.
- public SqlStatementType get_statement_type ()
Get the type of statement held by this
.
- public bool is_useless ()
Tells if this is composed only of
spaces (that is it has no real SQL code), and is completely useless as such.
- public bool normalize (Connection cnc) throws Error
"Normalizes" some parts of this, see
gda_sql_statement_normalize
for more information.
- public string serialize ()
Creates a string representing the contents of
this.
- public string to_sql_extended (Connection? cnc, Set? @params, StatementSqlFlag flags, out SList<unowned Holder> params_used) throws Error
Renders this as an SQL statement,
with some control on how it is rendered.
- public string to_sql_real (SqlRenderingContext context) throws Error
Renders this to its SQL
representation, using context
to specify how each part of this must be rendered.
Signals:
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