I want to load multiple records using lightning data service without using any apex controllers. Is it possible?


As per Salesforce Docs:

Lightning Data Service supports primitive DML operations—create, read, update, and delete. It operates on one record at a time, which you retrieve or modify using the record ID.

SO you need to create multiple instance of it to handle bulk operation which is not recommended.



LDS is not intended for bulk data loads, and has no real query capabilities beyond the current object. It is meant for lightweight quick actions and the such.o load or save a lot of records at once will cause a significant performance penalty.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.