Skip to content
cicada edited this page Dec 7, 2022 · 8 revisions

title: Id permalink: /Id/

Relational functions id

syntax

definition

id(domainunit) results in an attribute with the index numbers of the domain unit domainunit.

This domainunit argument is both domain unit and values unit of the resulting attribute.

description

An id(domainunit, relation) function is not implemented. Use the cumulate function to calculate index numbers per partitioning.

applies to

since version

5.15

example

unit Region: NrofRows = 5; attribute idRegion (Region) := id(Region);

idRegion
0
1
2
3
4

domain Region, nr of rows = 5

Clone this wiki locally