gda.sql_select_field
Module for [SqlSelectField] class
class SqlSelectField
Types 1
classSqlSelectField
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.
Fields
GdaSqlSelectField _cInstanceMethods
void * _cPtr()string fieldName() @propertyGet `fieldName` field. Returns: field name part of @expr if @expr represents a fieldvoid fieldName(string propval) @propertySet `fieldName` field. Params: propval = field name part of @expr if @expr represents a fieldstring tableName() @propertyGet `tableName` field. Returns: table name part of @expr if @expr represents a fieldvoid tableName(string propval) @propertySet `tableName` field. Params: propval = table name part of @expr if @expr represents a fieldgda.meta_db_object.MetaDbObject validityMetaObject() @propertystring serialize()Creates a new string representing an expression used as field in a SELECT statement before the FROM clause. Returns: a new string with the description of the expression or "null" in case field is i...void takeAlias(gobject.value.Value alias_)Sets the 'as' field's string in the #GdaSqlSelectField structure. alias is freed after call this function.void takeStarValue(gobject.value.Value value)Sets the expression field's value in the #GdaSqlSelectField structure to point to value; after this field is the owner of value.