function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
for (Account account : accountList) { insert new Contact( AccountId = account.Id LastName = 'tester' ); }
List<Contact> contacts = new List<Contact>(); for (Account account : accountList) { contacts.add(new Contact( AccountId = account.Id LastName = 'tester' )); } insert contacts;
BAD
BETTER