Class: Record
Description
This method saves object data directly to the database, bypassing all filers including update triggers and journal file definitions. This method does, however, update indexes. Use this method for high performance batch processing and transaction processing requirements where data integrity is controlled in the program procedural logic (i.e., where data validation and trigger logic can safely be ignored).
Syntax
objectName.bypassSave()
Parameters
None
Returns
Void
When Became Available
Profile v6.0
Example
type String BRCD
set BRCD=Db.nextVal("UTBLBRCD") //highest key value + 1
type RecordUTBLBRCD utblbrcd=Class.new("RecordUTBLBRCD")
set utblbrcd.brcd=BRCD
set utblbrcd.desc="New Branch"
set utblbrcd.brcity="San Francisco"
set utblbrcd.brstate="California"
do utblbrcd.bypassSave()