
I would like to create multiple entries in the same table, when an admin create one new entry. In detail, what I want to do is to duplicate this new entry, modify a field (username) for each of these new instances, and then submit these new entries in the database.
I think I should use a beforeinsert trigger, and then get by myself every fields contained in the record submitted and then make some custom sql calls. Is there a better way, by using some Xataface method ?
Another thing: if I indeed do some custom sql calls to insert my duplicated records, how can I cancel the original one submitted by the admin ?
BTW, Happy New Year and long life to Xataface !
