Select active (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Select TQL|suppresscategory=true|allowselflinks=true|<onlyinclude> | {{Select TQL|suppresscategory=true|allowselflinks=true|<onlyinclude> | ||
{{Select TQL| | {{Select TQL|tabletype=row|attribute=ACTIVE|unit={{boolean}}|description=Returns whether an [[Item]] is active in this [[session]]|fixed=1|polygon=false|}}</onlyinclude> | ||
}} | }} | ||
Revision as of 14:39, 28 February 2023
Select | Unit | Description | Fixed clause amount | Polygon based |
---|---|---|---|---|
ACTIVE | boolean | Returns whether an Item is active in this session | 1 | false |
Allowed clause parameters
Param | Type | Description | Limits search polygon |
---|---|---|---|
NEIGHBORHOOD | Item ID | Neighborhood with ID | true |
AREA | Item ID | Area with ID | true |
INDICATOR | Item ID | Indicator with ID | false |
OVERLAY | Item ID | Overlay with ID | false |
NET_TYPE | Net type | Only net items of this net type | false |
Examples
SELECT_ACTIVE_WHERE_AREA_IS_5
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.