Reference·JavaScript · @bimworks/jssdkJavaScript

QueryLeafColumn

Interface in @bimworks/jssdk.

API catalogue · @bimworks/jssdk · Interface

TypeScript#
interface QueryLeafColumn

A 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#

TypeScript#
added?: boolean

True for an entry the server added rather than the query.

inheritedFrom: QueryColumn.added

aggregate#

TypeScript#
aggregate?: string

The aggregate's keyword (COUNT, SUM, COLLECT, ...), on an aggregate column.

inheritedFrom: QueryColumn.aggregate

alias#

TypeScript#
alias: string | null

The AS alias, null without one.

inheritedFrom: QueryColumn.alias

collect#

TypeScript#
collect?: ((string)[])[]

On a COLLECT column: the paths of its features inside each collected entry

columns#

TypeScript#
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#

TypeScript#
distinct?: boolean

On a COLLECT column: true for COLLECT(DISTINCT ...)

groupKey#

TypeScript#
groupKey?: boolean

True for a group key of a grouped result.

inheritedFrom: QueryColumn.groupKey

hidden#

TypeScript#
hidden?: boolean

True for an item the workspace's feature visibility hides; it has no values.

inheritedFrom: QueryColumn.hidden

item#

TypeScript#
item?: number

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: QueryColumn.item

kind#

TypeScript#
kind?: string

The feature family, for styling: attribute, property, quantity, calculated, type, ...

inheritedFrom: QueryColumn.kind

label#

TypeScript#
label?: string

The header to show: the alias, else the text.

inheritedFrom: QueryColumn.label

path#

TypeScript#
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#

TypeScript#
source?: string

The item as BQL text, without its alias.

inheritedFrom: QueryColumn.source

subItem#

TypeScript#
subItem?: number

On an item of a relation: its index in the relation's list (item is the relation's)

unit#

TypeScript#
unit?: string

The unit of the item's UNIT clause, as written.

inheritedFrom: QueryColumn.unit