Jet\DataModel_Query_Select_Item

It is a class representing one item of the SELECT part of the query. Thus, it is a subentity of the Jet\DataModel_Query_Select class.

Overview of methods

Method Meaning of
public __construct(
DataModel_Definition_Property|
DataModel_Query_Select_Item_Expression $item,
string $select_as
)
Parameters:
  • $item
    This is either a property definition or an expression definition (for example, a SQL function call).
  • $select_as
    The name of the item in the SELECT set. Simply put, an AS clause in the SQL sense.
public getItem(
) : DataModel_Definition_Property|
DataModel_Query_Select_Item_Expression
Returns the recorded item - either the property definition or the expression definition (for example, the SQL function call).
public getSelectAs(
) : string
Returns the name of the item in the SELECT set. Simply put, an AS clause in the SQL sense.
Previous chapter
Jet\DataModel_Query_Select
Next chapter
Jet\DataModel_Query_Select_Item_Expression