gda.sql_select_target
Module for [SqlSelectTarget] class
class SqlSelectTarget
Types 1
classSqlSelectTarget
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.
Fields
GdaSqlSelectTarget _cInstanceMethods
void * _cPtr()string tableName() @propertyGet `tableName` field. Returns: table name part of @expr if @expr represents a tablevoid tableName(string propval) @propertySet `tableName` field. Params: propval = table name part of @expr if @expr represents a tablegda.meta_db_object.MetaDbObject validityMetaObject() @propertystring serialize()Creates a new string representing a target used in a SELECT statement after the FROM clause. Returns: a new string with the description of the expression or "null" in case field is invalid.void takeAlias(gobject.value.Value alias_)Sets the target alias (AS) to the string held by alias; after call this function alias is freed.void takeSelect(gda.sql_statement.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.void takeTableName(gobject.value.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.