persistent class %BI.Hi
This [read-only] class/table maps to a single condition row in ^SpeedI.Hi
It contains one record per Id present in the bitstring.
The Id is Col#, the data is Id in target class.
It can be used as a normal table, as in
select Name,City,Country,Sex into :name,:city,:country,:sex
where Class = "User.HPerson"
and Cond = 1961
and TheId = SQLUser.HPerson.Id
final method %OnBeforeSave(Insert As %Boolean)
This callback method is invoked by the %Save method to
provide notification that the object is being saved. It is called before
any data is written to disk.
final classmethod %OnDelete(Oid As %ObjectIdentity)
insert will be set to 1 if this object is being saved for the first time.
If this method returns an error then the call to %Save will fail.
This callback method is invoked by the %Delete method to
provide notification that the object specified by oid is being deleted.
If this method returns an error then the object will not be deleted.
index (Col on Class,Cond,Col) [IdKey];
(BEFORE event DELETE) trigger HyperInsert
(BEFORE event INSERT) trigger HyperUpdate
(BEFORE event UPDATE)