MultiValue Quick Start Tutorial
ItemId Property
[Home] [Back] [Next]
InterSystems: The power behind what matters   

The ItemId property of the generated Caché class represents the original multivalue file’s item-id field. The ItemId property has an index defined on it. Here are the relevant declarations from the MVFILE.PERSON class definition:

Property ItemId As %String;
Index indexItemId On ItemId [ IdKey, PrimaryKey ];  
The index declaration gives ItemId the following features:
For more information on the IDKEY mechanism, read IDKEY in the SQL and Object Use of Multidimensional Storage section of Using Caché Globals as well as IdKey in the Caché Class Definition Reference.
For more information on IDKEYs that are also SQL primary keys, read Primary Key in the CREATE TABLE section of the Caché SQL Reference.

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA