gda.sql_select_field

Module for [SqlSelectField] class

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
Methods
void * _cPtr()
gda.sql_expr.SqlExpr expr() @propertyGet `expr` field. Returns: expression
void expr(gda.sql_expr.SqlExpr propval) @propertySet `expr` field. Params: propval = expression
string fieldName() @propertyGet `fieldName` field. Returns: field name part of @expr if @expr represents a field
void fieldName(string propval) @propertySet `fieldName` field. Params: propval = field name part of @expr if @expr represents a field
string tableName() @propertyGet `tableName` field. Returns: table name part of @expr if @expr represents a field
void tableName(string propval) @propertySet `tableName` field. Params: propval = table name part of @expr if @expr represents a field
string as() @propertyGet `as` field. Returns: alias
void as(string propval) @propertySet `as` field. Params: propval = alias
string 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.
Constructors
this(void * ptr, Flag!"Take" take)