SqlSelectTarget
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gda_sql_select_target_get_type ()" ) ]
[ Compact ]
public class SqlSelectTarget
This structure represents a target used to fetch data from in a SELECT statement; it can represent a table or a sub select.
Note that the table_name part <emphasis>will be</emphasis> overwritten by &LIBGDA;, set the value of
expr->value instead.
Content:
Creation methods:
Methods:
- public SqlSelectTarget copy ()
Creates a new SqlSelectTarget structure
initiated with the values stored in this.
- public void free ()
Frees a SqlSelectTarget structure and its
members.
- public string serialize ()
Creates a new string representing a target used in a SELECT statement
after the FROM clause.
- public void take_alias (Value alias)
- public void take_select (SqlStatement stmt)
Sets the target to be a SELECT subquery setting target's expression to
use stmt; after call this function the target owns stmt, then you must not free it.
- public void take_table_name (Value value)
Sets the target's name using the string stored in value
and the expression to set its value to point to value; after call this function the target owns value, then you must not
free it.
Fields: