Skip to Content

Multi Insert with $BATCH or XSJS for better performance

Hi Expert,

We have requirement to insert multiple record in 3 tables.

Table1 -Header

Table2 - Item2

Table3 - Item3

We have two approach, first one is to use $BATCH and second to use .XSJS

In $batch we are sending multiple record in batch request

In XSJS we are sending the request in DEEP_INSERT format by calling the service

https://<>/services/itemCreate.xsjs

{

Header

"Item1":[{

}],

"Item2":[{

}]

}

which approach we need to follow for better performance?

Regards,

Anurag Singh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers