On the class HasMany, we have the "add" method... but there is no "insertAt" method.
So, how can we insert something at a specific index (order matter here) ?
Relationship is backed by a Set, so it does not have order assurances. I suggest you add a property to your model to be sorted by (it could be transient)
Hi,
On the class HasMany, we have the "add" method... but there is no "insertAt" method. So, how can we insert something at a specific index (order matter here) ?
Thanks