company logo

DBObjectHandle :: ExecuteExpression - Execute expression

Execute expression allows running in line expressions or persistent expressions. When running an in line expression containing one or more statements, the expression must be enclosed in {}. The result is returned as property handle, which allows an expression returning elementary or complex instances as well as instance collections.

When calling a persistent expression stored in the resource database the expression name must be preceded by the Class name the expression belongs to (scope name).

"if (1>2) Print('true')" // in line expression

Person::GetTotalIncome(2004) // persistent expression

Return value:  Pointer to roperty handle ( PropertyHandle * )

Implementation details

  1. - internal feature (not documented)
    PropertyHandle DBObjectHandle  :: ExecuteExpression ( NString &cexpression, bool bServer )
    • cexpression - - Title unknown
    • bServer - Server option
  2. to list
  3. - internal feature (not documented)
    PropertyHandle DBObjectHandle  :: ExecuteExpression ( OperEnvHandle &oper_env, NString &cexpression )
    • oper_env - - internal feature (not documented)
    • cexpression - - Title unknown
  4. to list
  5. - internal feature (not documented)
    PropertyHandle DBObjectHandle  :: ExecuteExpression ( DBObjectHandle &obhandle_refc, NString &cexpression, bool bServer )
    • obhandle_refc - Constant reference to database object handle

      The reference refers to an opened or not opened database object handle.

    • cexpression - - Title unknown
    • bServer - Server option
  6. to list