MAPVERSION
Returns the version or invalidity of any map data.
Returns the version or invalidity of any map data. This scalar function returns the map version (such as 1) or -1, if the map data is invalid.
Syntax
MAPVERSION (VMap-data)
Arguments
VMap-dataAny VMap data. The VMap can exist as:
-
The
__raw__column of a flex table -
Data returned from a map function such as MAPLOOKUP
-
Other database content
-
Examples
The following example shows how to use mapversion() with the darkmountainflex table, returning mapversion 1 for the flex table map data:
=> SELECT MAPVERSION(__raw__) FROM darkmountain;
mapversion
------------
1
1
1
1
1
(5 rows)