Skip to main content

Timeline for Soql inside constructor

Current License: CC BY-SA 4.0

4 events
when toggle format what by license comment
Mar 10, 2019 at 18:02 vote accept Sara
Mar 10, 2019 at 18:01 comment added Sara Thanks ! That makes sense.
Feb 20, 2019 at 15:13 comment added David Reed +1. Only other thing I'd mention is that if a QueryException (or any exception) gets thrown in the constructor the resulting error message is not very useful. I don't think that makes it necessarily bad practice though.
Feb 20, 2019 at 10:42 history answered Pranay Jaiswal CC BY-SA 4.0