Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (25 loc) · 1.2 KB

db.master.md

File metadata and controls

30 lines (25 loc) · 1.2 KB

db.master

The master function is established to store the data from a master table into the memory. Its return is an instance of the Record class. The first calling to a master means to load it into the memory, and the second calling means to get records from memory.

Sample for Event

	var record1 = db.master("user").sort("years", "asc");
	var record2 = db.master("user", true);

API

CallingReturning
db . master ( masterId )Record
db . master ( masterId , reload )
db . master ( masterId , jdbcResourceName )
db . master ( masterId , reload, jdbcResourceName )
ParameterTypeDescription
masterIdStringThe name of a master table.
reloadBooleanThe flag to load the master again event it has been loaded.
jdbcResourceNameStringTo execute SQL in another database resource, but not the default.
For efw-4iAP, it is shared database id.