TQL: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
m (Replaced content with "#REDIRECT Tygron Query Language")
 
(120 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|style="border-style: solid; border-width: 20px" align="center"
#REDIRECT [[Tygron Query Language]]
|
Please note: This page is currently being updated!
|}
 
{{learned|what the Tygron Query Language (TQL) is|how to create TQL queries|what type of queries you can create|what TQL is currently applied for}}
 
==TQL==
The Tygron Query Language is a special-purpose programming language designed for obtaining spacial area information from a specific game session on the Tygron Engine. The primary reason for its development was to make an easy to use bridge between the Tygron Engine and Microsoft Excel.
 
==Queries==
The operation used in TQL is the query, which is performed with the declarative <code>SELECT</code> statement. <code>SELECT</code> retrieves data from a running Tygron game session. The <code>SELECT</code> statements have no persistent effects on the game session itself.
 
Queries allow the user to describe desired data, leaving the Tygron Engine responsible for planning, optimizing, and performing the physical operations necessary to produce that result as it chooses.
 
A query includes a parameter to include in the final result, immediately following the SELECT keyword. Currently, one of the following result parameters can be chosen:
{| class="wikitable"
|-
! Result Parameter
! Description
! Example
|-
| FLOORSIZE
| Floor size of buildings
| CATEGORY_IS_OFFICES
|-
| LOTSIZE
| Ground surface size of buildings
| CATEGORY_IS_OFFICES
|-
| UNITS
| Amount of housing units
| CATEGORY_IS_OFFICES
|-
| <code>FLOORSIZE</code>
| Equal to
| SELECT_FLOORSIZE_WHERE_CATEGORY_IS_SOCIAL
|}
 
 
 
SELECT is the most complex statement in SQL, with optional keywords and clauses that include:
 
 
 
 
===Clauses===
 
 
 
====Operators====
TQL clausses currently support the following Operators:
{| class="wikitable"
|-
! Operator
! Description
! Example
|-
| IS
| Equal to
| CATEGORY_IS_OFFICES
|}

Latest revision as of 09:23, 20 August 2018