This is the old version of our wiki. We advice to visit: https://www.geodms.nl

Id

From ObjectVision

Jump to: navigation, search

Relational functions id

Contents

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<uint32> Region: NrofRows = 5;
attribute<Region> idRegion (Region):= id(Region);
idRegion
0
1
2
3
4

domain Region, nr of rows = 5

Personal tools