Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

New answers tagged

0 votes

DMLException method getFieldNames() does not exist

We do also have Database.update that accepts AccessLevel. You can use it if you want partial save on the DML else you would have to do with catching the exception as Tushar suggested. public static ...
Sachin Hooda's user avatar
  • 1,632
1 vote

DMLException method getFieldNames() does not exist

As per this documentation, the getDmlFieldNames() method is available for the get the names of the field or fields that caused the error described by the ith failed row not the getFieldNames() method. ...
Tushar Jadav's user avatar
  • 1,880

Top 50 recent answers are included