- edited description
Database.update(SObject[], Database.DMLOptions) signature not recognized as valid
Issue #1520
resolved
For the following snippet of code:
Database.DMLOptions dlo = new Database.DMLOptions();
dlo.optAllOrNone = false;
return Database.update(users, dlo);
Line 3 shows an error saying that “Expected argument of type Boolean; found Database.DMLOptions”:
When saving the code copiles without errors and in the documentation it does list a method with the following signature:
public static Database.SaveResult[] update(sObject[] recordsToUpdate, Database.DMLOptions dmlOptions)
Illuminated Cloud Version: 2.1.0.0
Comments (5)
-
Account Deactivated reporter -
repo owner Fix submitted for inclusion in the next build.
-
repo owner - changed status to resolved
Delivered in 2.1.0.1. Note that upon updating, you'll need to regenerate your OST to pick up the fix.
-
Account Deactivated reporter Thanks Scott!
-
repo owner - removed version
Removing version: Unassigned (automated comment)
- Log in to comment