Is there any way to create a batch of multiple records with a single POST request in Ember Data?
问题 var batch = [someRecord, someRecord, someRecord...] batch.invoke('save'); If I have an array of 50 newly created records and then invoke save on that array, then Ember Data will make 50 POST requests. I would rather bulk them into a single request and handle that on the API for performance. Is there any way to do this? Right now it appears I will have to implement this manually with ajax. But if there is a better way, please share. 回答1: There used to be a bulkCommit feature in ember-data on