Cache
Cache List of Objects in Memory
Caches the list (array) of objects in memory for faster access. It runs when all
the input link points are active. If successful, it triggers the output
objectList; otherwise triggers errors.
| |
---|
Multi input | ✔️ |
Multi output | ❌ |
Input link points
Name | Type | Description |
---|
objectList | list | Input objects of the node that will be cached in memory |
Output link points
Name | Type | Description |
---|
objectList | list | The list of cached objects, same objects as the input |
errors | list | Errors occurred during node execution |
Parameters
Name | Type | Description |
---|
Cache key | required | The unique key that will be used to cache the object. The cache key can be a maximum of 250 characters long. If the key already holds a value, it is overwritten. |
Timeout on cached value | required | Timeout duration for cache expiry. After the timeout, the cached object list will automatically be removed from the cache. |
Apply rules | optional | Enable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache. |
Error management | optional | Error handler type of processing errors raised by this node, either automatically or manually. |
Cache Object in Memory
Caches the object in memory for faster access. It runs when all the input link
points are active. If successful, it triggers the output object; otherwise
triggers errors.
| |
---|
Multi input | ✔️ |
Multi output | ❌ |
Name | Type | Description |
---|
object | object | Input object of the node that will be cached in memory |
Output link points
Name | Type | Description |
---|
object | object | The cached object, same object as the input |
errors | list | Errors occurred during node execution |
Parameters
Name | Type | Description |
---|
Cache key | required | The unique key that will be used to cache the object. Cache key can be maximum 250 characters long. If the key already holds a value, it is overwritten. |
Timeout on cached value | required | After the timeout, the cached object will automatically be removed from the cache. |
Apply rules | optional | Enable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache. |
Error management | required | Error handler type of processing errors raised by this node, either automatically or manually. |
Delete Cached Objects
Deletes the object(s) associated with the specified cache key from the memory.
It runs when the input link point is active.
| |
---|
Multi input | ❌ |
Multi output | ❌ |
Name | Type | Description |
---|
input | object | Input object of the node mainly used to specify the cache key value |
Output link points
Name | Type | Description |
---|
trigger | trigger | Output trigger of the node |
errors | list | Errors occurred during node execution |
Parameters
Name | Type | Description |
---|
Cache key | required | The unique key that will be used to fetch the object from the cache |
Apply rules | optional | Enable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache. |
Error management | required | Error handler type of processing errors raised by this node, either automatically or manually. |
Get Cached Object
Retrieves the cached object from memory. It runs when the input link point is
active. If successful, triggers the found otherwise triggers notFound.
| |
---|
Multi input | ❌ |
Multi output | ❌ |
Name | Type | Description |
---|
input | object | Input object of the node mainly used to specify the cache key value |
Output link points
Name | Type | Description |
---|
found | object | Object retrieved from the cache |
notFound | object | Object not found trigger, returns the input object |
errors | list | Errors occurred during node execution |
Parameters
Name | Type | Description |
---|
Cache key | required | The unique key that will be used to fetch the object from the cache |
Retrieved object model | required | The model of the object that will be retrieved from the cache |
Lookup fields | required | The referenced object fields of the cached object if there are any |
Apply rules | optional | Enable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache. |
Error management | required | Error handler type of processing errors raised by this node, either automatically or manually. |
Get List of Cached Objects
Retrieves the cached list of objects from memory. It runs when the input link
point is active. If successful, triggers the found otherwise triggers notFound.
| |
---|
Multi input | ❌ |
Multi output | ❌ |
Name | Type | Description |
---|
input | object | Input object of the node mainly used to specify the cache key value |
Output link points
Name | Type | Description |
---|
found | list | List of objects retrieved from the cache |
notFound | object | Object not found trigger, returns the input object |
errors | list | Errors occurred during node execution |
Parameters
Name | Type | Description |
---|
Cache key | required | The unique key that will be used to fetch the object from the cache |
Retrieved object model | required | The model of the objects that will be retrieved from the cache |
Lookup fields | required | The referenced object fields of the cached objects if there are any |
Apply rules | optional | Enable/disabled execution of object level security rules that define the conditions to allow or restrict certain operations (create, read, upddate, delete) on your app database, storage and cache. |
Error management | required | Error handler type of processing errors raised by this node, either automatically or manually. |