jsreport.documentStore.collection('templates').insert
-
Dears,
Am I able to pass a Data Array to this:
jsreport.documentStore.collection('templates').insert({ content: 'footer', shortid: 'footer', engine: 'handlebars', recipe: 'chrome-pdf' });
-
hi, is your question about how to insert multiple records in single
.insert
call? i think that is not possible, but you can always do some iteration and insert the record one by one.