Add a new item to repeater then save to collection

I see just two ways of how to manipulate the REPEATER-DATA.

  1. You do it directly and manualy by generating own script-codes (functions), which will be able to work with REPEATER-ARRAY-OBJECTS.
    Which will be able to …
    a) add
    b) remove
    c) join
    d) concat
    e) and so on…
    new data to the existing data-package, reloading the whole package back to repeater, after the data was modified/changed.

  2. You work with Wix-Data.

  3. Maybe there is already a VELO-PACKAGE which could help you out, i don’t know. Just saw somewhere a Velo-Package called → Wix-Data-Helpers, or something like that, maybe it could help you.

Manipulating REPEATER-DATA the direct way is nothing else, then manipulating the following structure…

[
  {
    "_id": "1",
    "firstName": "John",
    "lastName": "Doe",
    "image": "http://someImageUrl/john.jpg"
  },
  {
    "_id": "2",
    "firstName": "Jane",
    "lastName": "Doe",
    "image": "http://someImageUrl/jane.jpg"
  }
]

This is how a repeater-data looks like.
Arrays filled with objects.