Timeline for Can the exact type of an Apex list be checked to choose between upsert and insert/update?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 4, 2017 at 21:38 | comment | added | Keith C | Thanks! Thought I'd looked there but must have missed it. | |
Sep 4, 2017 at 21:35 | comment | added | sfdcfox♦ | @KeithC Sorry, had to step out for a bit. It's actually mentioned in the List Class documentation. | |
Sep 4, 2017 at 16:56 | vote | accept | Keith C | ||
Sep 4, 2017 at 16:52 | comment | added | Keith C |
That's exactly what I'm looking for. I didn't know that lists of concrete SObject types support getSObjectType() ; is that documented somewhere? Compiles and works well for me.
|
|
Sep 4, 2017 at 16:48 | history | answered | sfdcfox♦ | CC BY-SA 3.0 |