Select active (TQL): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
{{: Net type (TQL Param)}}
{{: Net type (TQL Param)}}
}}
}}
==Examples==
* <code>SELECT_ACTIVE_WHERE_AREA_IS_5</code>
: ''Returns whether the [[Area]] with Item ID 5 is considered active; I.e. the area has an ACTIVE [[Attribute]] that has a value that is larger than 0.''
* <code>SELECT_ACTIVE_WHERE_NET_TYPE_IS_ELECTRICITY</code>
: ''Returns whether the [[Net Setting]] ELECTRICITY_ACTIVE is considered active; I.e. the setting has a value of true.''


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

Revision as of 17:32, 17 February 2023

Allowed clause parameters

Examples

  • SELECT_ACTIVE_WHERE_AREA_IS_5
Returns whether the Area with Item ID 5 is considered active; I.e. the area has an ACTIVE Attribute that has a value that is larger than 0.
  • SELECT_ACTIVE_WHERE_NET_TYPE_IS_ELECTRICITY
Returns whether the Net Setting ELECTRICITY_ACTIVE is considered active; I.e. the setting has a value of true.