Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New method insertRecords(allOrNone) replaces insertRecords() #45

Closed
nmitrakis opened this issue Nov 26, 2017 · 0 comments
Closed

New method insertRecords(allOrNone) replaces insertRecords() #45

nmitrakis opened this issue Nov 26, 2017 · 0 comments

Comments

@nmitrakis
Copy link
Member

nmitrakis commented Nov 26, 2017

  • The allOrNone parameter will work as apex Database.insert method does.
  • If you specify false for this parameter and a record fails, the remainder of the DML operation can still succeed.
  • If the parameter is set true, an exception is thrown if the method is not successful.
  • Currently insertRecords() works like insertRecords(false). This method will de deprecated in release 1.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant