docs.intersystems.com
Home  /  Application Development: Core Topics  /  Class Definition Reference  /  Foreign Key Keywords  /  NoCheck


Class Definition Reference
NoCheck
[Back]  [Next] 
InterSystems: The power behind what matters   
Search:  


Specifies whether InterSystems IRIS should check this foreign key constraint.
Usage
To prevent InterSystems IRIS from checking the constraint defined by this foreign key, use the following syntax:
ForeignKey keyname(key_props) References pkg.class(ref_props) [ NoCheck ];
Otherwise, omit this keyword or place the word Not immediately before the keyword.
Details
The NoCheck keyword suppresses the checking of the foreign key constraint (in other words, it specifies that the foreign key constraint never be checked).
Default
If you omit this keyword, InterSystems IRIS does check the foreign key constraint.
See Also