o1lab/xmysql

Cascade Insert / Updates

lixaotec opened this issue · 0 comments

Dear fellows and @o1lab ,

I know it might not be the intention of this lib, however, wouldn´t it be nice to have features for inserting and updating tree structure with cascading?

The lib dreamfactory does something in this way.

PLease share your comments.

F.I: inserting user with contacts

{
"name": "user test",
"contacts": <-- there might be some logic to address the correct table
[{ "person": "friend".
"cell": "987654321"]}
}