Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
Private  Storage   

Member class for relationship referential constraints and referential integrity actions. A relationship triggers a foreign key constraint based on the 1-cardinality relationship with a target key of %1. %1 is the implied unique key generated from the object ID (SQL ROWID).

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4


Summary

Methods
Check Delete


Methods

• classmethod Check(id As %RawString = "", lockonly As %Boolean = 0) as %Status
Method to Check foreign key for existence. If lock is TRUE then the object referenced by the key value is also locked. If the reference does not exist or, if locking is requested and the lock fails then an error message is returned.
• classmethod Delete(id As %RawString = "", concurrency As %Integer = -1) as %Status


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.