A collection of models, mainly used together with a For Each Node.
Sets the items in a model. Useful when you set the data with a Static Data node.
The item id to add or remove. Unsed in conjunction with the Add or Remove inputs.
Add the Model with the id specified with the Item Id input to this collection.
Remove the Model with the id specified with the Item Id input from this collection.
Remove all models in the collection
Set the Id for this collection. All collection nodes with the same Id will refer to the same collection and have the same items. Use the Unique Id node to generate a unique id.
Allows a model to be saved and synchronized across multiple devices and multiple sessions. Note that a collection only stores the ids of models, not the actual data in the models. Make sure to persist the models in the collection as well.
- None - Don't persist this collection. All data will be lost when refreshing the project, and won't be synchronized across devices.
- Local - Use the Persist and Fetch inputs to save and retrieve the collection using local storage in the browser. Data is not shared across devices and each device will have its own unique storage.
- Global - The collection is saved by Noodl and sent shared across all clients. Use the Persist and Fetch inputs to save and retrieve the data in the collection.
- Sync - Same as global, but the collection will automatically do Persist and Fetch when it's modified.
The Id for this Collection
The number of items in the Collection
The data is currently being persisted.
The data was successfully stored and persisted.
The data failed to be saved.
The data was successfully retrieved from persisted storage.
The data failed to be retrieved from persisted storage.