Statement
Object Hierarchy:
Description:
Namespace: Gda
Package: libgda-5.0
Content:
Properties:
- public void* structure { get; set; }
Static methods:
- public static Quark error_quark ()
Creation methods:
- public Statement ()
Creates a new Statement object
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 notnull
then checks that every object (table, field, function) used in this actually exists incnc
'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:
- public virtual signal void checked (Connection cnc, bool checked)
Gets emitted whenever the structure and contents of the statement have been verified (emitted after check_validity).
- public virtual signal void reset ()
Gets emitted whenever the statement has changed
Inherited Members:
All known members inherited from class GLib.Object