Select (TQL): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
{{Select TQL|suppresscategory=true|allowselflinks=true|list=true|
{{Select TQL|suppresscategory=true|allowselflinks=true|list=true|
{{: Select active (TQL)}}
{{: Select active (TQL)}}
{{: Select attribute (TQL)}}
{{: Select color (TQL)}}
{{: Select distance (TQL)}}
{{: Select expenses (TQL)}}
{{: Select floorsize (TQL)}}
{{: Select global (TQL)}}
{{: Select height (TQL)}}
{{: Select id (TQL)}}
{{: Select gridavg (TQL)}}
{{: Select gridmin (TQL)}}
{{: Select gridmax (TQL)}}
{{: Select gridvolume (TQL)}}
{{: Select gridstdev (TQL)}}
{{: Select landpolygons (TQL)}}
{{: Select landsize (TQL)}}
{{: Select length (TQL)}}
{{: Select levees (TQL)}}
{{: Select lotpolygons (TQL)}}
{{: Select lotsize (TQL)}}
{{: Select name (TQL)}}
{{: Select net state (TQL)}}
{{: Select revenue (TQL)}}
{{: Select settingstate (TQL)}}
{{: Select state (TQL)}}
{{: Select target (TQL)}}
{{: Select token (TQL)}}
{{: Select topfloor (TQL)}}
{{: Select units (TQL)}}
}}
}}


{{TQL nav}}
{{TQL nav}}

Revision as of 12:26, 17 February 2023

The SELECT statement for TQL provides a means of obtaining data of a session. The 'Select' statement is consists of the SELECT word followed by a Selection type and the word WHERE. Depending on the Selection Type one or more clauses can be added. Clauses are separated with the AND word. All of these parts are separated by an underscore _.

An example of a TQL select statement is: SELECT_LOTSIZE_WHERE_CATEGORY_IS_SOCIAL_AND_STAKEHOLDERTYPE_IS_MUNICIPALITY. In this example, SELECT_LOTSIZE_WHERE is the statement. CATEGORY_IS_SOCIAL is the first clause, and STAKEHOLDERTYPE_IS_MUNICIPALITY is the second clause. It would return all the land area taken up with social housing, which is also owned by a municipal stakeholder.

Select settingstate (TQL)