Loading...
 

CX_DB_UTILITY::GetREPCollByName

CX_DB_UTILITY::GetREPCollByName

Description:

This method returns the REP-Collection bound to a name from a specific database. ObjectStore functionality is used directly and all ClassiX® organisational structures are bypassed.

Code example:

The following code returns the default GarbageCollection logged on under "geps" in the database to which the environment variable CX_DATABASE is set:

BeginTXN(READ) "CX_DATABASE" "geps" GetManager(OBJECT) Call(GetDBUtility) Call(GetREPCollByName)

Stack
Stack Position Object type Brief description
Stack(In) Top CX_DB_UTILITY CX_DB_UTILITY object
Top 1 STRING Name of the REP-Collection
top 2 DATABASE Database
Stack(Out) Top COLLECTION The collection registered on the REP or NULL
Function call: Call(GetREPCollByName)