Timeline for Best practice for a query inside a batch and Mapping
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 1, 2019 at 7:52 | history | edited | Phil W | CC BY-SA 4.0 |
added 8 characters in body
|
Jul 1, 2019 at 7:46 | history | edited | Phil W | CC BY-SA 4.0 |
Fix typos
|
Jul 1, 2019 at 6:22 | vote | accept | Salvation | ||
Jun 30, 2019 at 12:08 | comment | added | Phil W | I don't mean a wrapper. I mean you have attributes you initialize from the SObject during construction and then forget about the SObject, holding just the attribute values initialized from the SObject. | |
Jun 30, 2019 at 10:36 | comment | added | Salvation | Yes you right! While you answered I tried to send a Set of Ids and retrieve them with a SOQL query inside the second batch. But it didn't work also and my assuming appeared to be not true, so I change my question a bit, and I wrote a new one : salesforce.stackexchange.com/questions/267702/… and It more detailed. About your answer, did you mean to handle a wrapper and send it to the second batch? If you do, what is the difference between wrapper and Sobject in hashing, Except the number of fields and the data inside? | |
Jun 30, 2019 at 10:14 | history | edited | Phil W | CC BY-SA 4.0 |
Fix encoding
|
Jun 30, 2019 at 9:38 | history | answered | Phil W | CC BY-SA 4.0 |