SqlSelectField
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gda_sql_select_field_get_type ()" ) ]
[ Compact ]
public class SqlSelectField
This structure represents a selected item in a SELECT statement (when executed, the returned data set will have one column per selected item).
Note that the table_name
and field_name
field parts <emphasis>will be</emphasis> overwritten by &
LIBGDA;, set the value of expr
->value instead.
Content:
Creation methods:
Methods:
- public SqlSelectField copy ()
Creates a new SqlSelectField structure initiated
with the values stored in this.
- public void free ()
Frees a SqlSelectField structure and its members.
- public string serialize ()
Creates a new string representing an expression used as field in a SELECT
statement before the FROM clause.
- public void take_alias (Value alias)
Sets the 'as' field's string in the SqlSelectField
structure.
- public void take_expr (SqlExpr expr)
Sets the expression field in the SqlSelectField
structure to point to expr
and modify it to sets its parent to this.
- public void take_star_value (Value value)
Sets the expression field's value in the SqlSelectField
structure to point to value
; after this this is the owner of value
.
Fields: