Views:

Description

Adds a calculated field to an existing local xCache collection.

Signature

xCacheAddCalculatedFieldLocal(
  'key',
  'name', 
  'datatype',
  'expression'
)

Example

xCacheAddCalculatedFieldLocal(
  'AllOrders', 
  'Total',
  'Double',
  'new_quantity * new_price'
)

Parameters

Name Type Description Required
key xxxx xxxx xxxx
name xxxx xxxx xxxx
datatype xxxx xxxx xxxx
expression xxxx xxxx xxxx