QueryLeafColumn
Interface in @bimworks/jssdk.
API catalogue · @bimworks/jssdk · Interface
interface QueryLeafColumnA column of QueryColumns.leaves: a QueryColumn with a relation's items flattened into columns of their own
Inheritance and interfaces#
Members#
| Member | Kind | Description |
|---|---|---|
| added | Property | True for an entry the server added rather than the query. inheritedFrom: QueryColumn.added |
| aggregate | Property | The aggregate's keyword (COUNT, SUM, COLLECT, ...), on an aggregate column. inheritedFrom: QueryColumn.aggregate |
| alias | Property | The AS alias, null without one. inheritedFrom: QueryColumn.alias |
| collect | Property | On a COLLECT column: the paths of its features inside each collected entry |
| columns | Property | The items inside a relation, or the features of a COLLECT, relative to one element of this column's value. inheritedFrom: QueryColumn.columns |
| distinct | Property | On a COLLECT column: true for COLLECT(DISTINCT ...) |
| groupKey | Property | True for a group key of a grouped result. inheritedFrom: QueryColumn.groupKey |
| hidden | Property | True for an item the workspace's feature visibility hides; it has no values. inheritedFrom: QueryColumn.hidden |
| item | Property | The index of the item in the GET list (or in its relation's list); absent for an entry the server added, such as the qid of forceGetQid. inheritedFrom: Query… |
| kind | Property | The feature family, for styling: attribute, property, quantity, calculated, type, ... inheritedFrom: QueryColumn.kind |
| label | Property | The header to show: the alias, else the text. inheritedFrom: QueryColumn.label |
| path | Property | The keys from the record (for a nested column, from one element of its parent's value) to the value. An array, because keys hold dots. "*" stands for every… |
| source | Property | The item as BQL text, without its alias. inheritedFrom: QueryColumn.source |
| subItem | Property | On an item of a relation: its index in the relation's list (item is the relation's) |
| unit | Property | The unit of the item's UNIT clause, as written. inheritedFrom: QueryColumn.unit |
added#
added?: booleanTrue for an entry the server added rather than the query.
inheritedFrom: QueryColumn.added
aggregate#
aggregate?: stringThe aggregate's keyword (COUNT, SUM, COLLECT, ...), on an aggregate column.
inheritedFrom: QueryColumn.aggregate
alias#
alias: string | nullThe AS alias, null without one.
inheritedFrom: QueryColumn.alias
collect#
collect?: ((string)[])[]On a COLLECT column: the paths of its features inside each collected entry
columns#
columns?: (QueryColumn)[]The items inside a relation, or the features of a COLLECT, relative to one element of this column's value.
inheritedFrom: QueryColumn.columns
distinct#
distinct?: booleanOn a COLLECT column: true for COLLECT(DISTINCT ...)
groupKey#
groupKey?: booleanTrue for a group key of a grouped result.
inheritedFrom: QueryColumn.groupKey
hidden#
hidden?: booleanTrue for an item the workspace's feature visibility hides; it has no values.
inheritedFrom: QueryColumn.hidden
item#
item?: numberThe index of the item in the GET list (or in its relation's list); absent for an entry the server added, such as the qid of forceGetQid.
inheritedFrom: QueryColumn.item
kind#
kind?: stringThe feature family, for styling: attribute, property, quantity, calculated, type, ...
inheritedFrom: QueryColumn.kind
label#
label?: stringThe header to show: the alias, else the text.
inheritedFrom: QueryColumn.label
path#
path?: (string)[]The keys from the record (for a nested column, from one element of its parent's value) to the value. An array,
because keys hold dots. "*" stands for every key at that level; an array met on the way holds one value per
element. Absent when the item writes nothing into the records (a feature the workspace hides).
inheritedFrom: QueryColumn.path
source#
source?: stringThe item as BQL text, without its alias.
inheritedFrom: QueryColumn.source
subItem#
subItem?: numberOn an item of a relation: its index in the relation's list (item is the relation's)
unit#
unit?: stringThe unit of the item's UNIT clause, as written.
inheritedFrom: QueryColumn.unit