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
Hi,It means you cannot perform DML on what salesforce calls setup objects(User in this case) and non-setup object in the same context.
Ref:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_non_mix_sobjects.htm
Hi,
It means you cannot perform DML on what salesforce calls setup objects(User in this case) and non-setup object in the same context.
Ref:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_non_mix_sobjects.htm