Parameter
|
Description
|
---|---|
List
|
The data to be pushed.
Defines the Cache_List_Key_Set parameter for filtering on poll at a later date.
|
Key
|
The key for the remote list
|
Index
|
The record position (in the remote list) to which data is pushed.
Supported options are:
▪ LIST_HEAD: 0 (the first record)
▪ LIST_TAIL: -1 (the last record)
|
Parameter
|
Description
|
---|---|
List
|
Read only and will not be pushed to remote, it only provides the <Cache_List_Key_Set> definition
|
Record
|
The data to be updated (replaced with), read only
|
Key
|
The key for the remote list
|
Index
|
The record position (in the remote list) to be updated (replaced with), start from 0
▪ LIST_HEAD or 0 denotes the first record
|
Parameter
|
Description
|
---|---|
List
|
Data to be pulled from remote; its local data would be cleared and overwritten
|
Key
|
The key for the remote list
|
Filter
|
▪ Define the criteria for the current record of the remote List on pull, count and find operations.
▪ Define a Lua expression that returns a Boolean value to indicate whether the current record is included (true) or not (false).
▪ You can reference the indexed field of the current record of the list in the form of ‘R["dataFieldName"]’as a Lua string value.
To use it as number: number(R["dataFieldName"])
▪ You can reference the position of the current record with POS, start from 0;
▪ You can use these Lua functions/libs in the expression:
tonumber -- tostring -- math -- string -- table
Example:
tonumber(R["found.balance"]) > 100 and POS < 10
Where "found.balance" should be in the Cache_List_Key_Set index.
|
Index
|
The record position (in the remote list) to begin the process, starting from 0
▪ LIST_HEAD or 0 denotes the first record
|
Parameter
|
Description
|
---|---|
List
|
Read only and will not be pushed to remote, it only provides the <Cache_List_Key_Set> definition
|
Record
|
The popped data that will overwrite local data
|
Key
|
The key for the remote list
|
Index
|
The record position (in the remote list) to be popped out.
Supported options are:
▪ LIST_HEAD: 0 (the first record)
▪ LIST_TAIL: -1 (the last record)
|
Parameter
|
Description
|
---|---|
List
|
Read only and only provides the <Cache_List_Key_Set> definition of the remote list.
|
Key
|
The key for the remote list
|
Index
|
The first record position at remote List to KEEP, start from 0
Supported options are:
▪ LIST_HEAD: 0 (the first record)
▪ LIST_TAIL: -1 (the last record)
|
Stop
|
The last record position at remote List to KEEP, start from 0
This can also be negative numbers, indicating offsets starting from the end of the list.
For example, LIST_TAIL or -1 denotes the last record of the remote list, -2 the penultimate, and so on.
|
Parameter
|
Description
|
---|---|
Record
|
The data to be saved to, its local data would be cleared and overwritten
|
Key
|
The key for the remote list
|
Index
|
The first record position at remote List to get, start from 0
▪ LIST_HEAD: 0 (the first record)
This can also be negative numbers, indicating offsets starting from the end of the list.
▪ For example, LIST_TAIL or -1 denotes the last record of the remote list, -2 the penultimate, and so on.
|