saveRepository
|
The saveRepository function saves a block of records into the specified ObjectRepository. The
ObjectRepository is cleared before the block is written. The saveRepository function, in connection with
loadRepository, allows repositories to be read or written as blocks of records. In addition, the saveRepository function may save a new child repository into the specified parent
ObjectRepository and associate the child repository with the specified retrieval key. This allows repositories
to contain independently accessible, nested, blocks of records The saveRepository function allows multiple levels of nested repositories within a parent
ObjectRepository. Child repositories may contain further nested child repositories to any level of nesting.
Furthermore, each nested child repository may be accessed independent of either the parent repository or any
of the other child repositories. Note: saveRepository can only be used if the repository was created with compression.
(See the new function and the key: true argument combination). Usage Use the saveRepository function to save records into an Object Repository.
(saveRepository aGor aDirectory) Returns the Object Id of the ObjectRepository where the blocks were saved.
Expression:
Arguments
Name
Type
Description Argument: aGor ObjectRepository
The target ObjectRepository for the blocks to be saved Argument: aDirectory Directory
A block, of objects, which is to be saved in the specified repository.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
ObjectRepository | Directory | Symbol | Number |
Text |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|