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.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

_cPtr
void* _cPtr()
serialize
string serialize()

Creates a new string representing a target used in a SELECT statement after the FROM clause.

takeAlias
void takeAlias(gobject.value.Value alias_)

Sets the target alias (AS) to the string held by alias; after call this function alias is freed.

takeSelect
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.

takeTableName
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.

Properties

as
string as [@property getter]

Get as field.

as
string as [@property setter]

Set as field.

expr
gda.sql_expr.SqlExpr expr [@property getter]

Get expr field.

expr
gda.sql_expr.SqlExpr expr [@property setter]

Set expr field.

tableName
string tableName [@property getter]

Get tableName field.

tableName
string tableName [@property setter]

Set tableName field.

validityMetaObject
gda.meta_db_object.MetaDbObject validityMetaObject [@property getter]