id - ObjectVision/GeoDMS GitHub Wiki

Relational functions id

syntax

definition

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

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

description

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

applies to

example

unit<uint32> Region: NrofRows = 5;
attribute<Region> idRegion (Region) := id(Region);
idRegion
0
1
2
3
4

domain Region, nr of rows = 5

⚠️ **GitHub.com Fallback** ⚠️