TestDataFactory icon indicating copy to clipboard operation
TestDataFactory copied to clipboard

Can you insert records by external ID using this test data factory

Open kensation opened this issue 3 years ago • 1 comments

Quick question - Can you insert records by external ID using this test data factory?

kensation avatar Jun 22 '22 21:06 kensation

Yes, see: https://github.com/benahm/TestDataFactory/blob/master/docs/EXAMPLES.md, you can create records whilst setting Boolean doInsert to false, this give you a list of records that you can upsert using the external ID like you would normally.

conrjac avatar Oct 12 '22 14:10 conrjac