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() nothrow
gda.sql_expr.SqlExpr expr() @property nothrowGet `expr` field. Returns: expression
void expr(gda.sql_expr.SqlExpr propval) @property nothrowSet `expr` field. Params: propval = expression
string fieldName() @property nothrowGet `fieldName` field. Returns: field name part of @expr if @expr represents a field
void fieldName(string propval) @property nothrowSet `fieldName` field. Params: propval = field name part of @expr if @expr represents a field
string tableName() @property nothrowGet `tableName` field. Returns: table name part of @expr if @expr represents a field
void tableName(string propval) @property nothrowSet `tableName` field. Params: propval = table name part of @expr if @expr represents a field
string as() @property nothrowGet `as` field. Returns: alias
void as(string propval) @property nothrowSet `as` field. Params: propval = alias
string serialize() nothrowCreates 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_) nothrowSets the 'as' field's string in the #GdaSqlSelectField structure. alias is freed after call this function.
void takeStarValue(gobject.value.Value value) nothrowSets 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)