I would like to copy an entire row, including its child-records, without going through a form.
I can add the parent-records via API. For the child-record, I can do that if it is a fixed number. i.e., for 3 rows, make a function with SELECT and INDEX for position 1, 2 and 3.
If its not a fixed number of child-records, to select on child-table and add each child-record I think would need some kind of loop function on the HTTP body.
Is it possible to do that? How can I do it?
User | Count |
---|---|
16 | |
8 | |
7 | |
3 | |
2 |