I know both of these procedures lead to data retrieval but I want to know precise answer.
*This post is locked for comments
I know both of these procedures lead to data retrieval but I want to know precise answer.
*This post is locked for comments
If you write exactly the same code as in find() method, then the behavior will be the same. The purpose of find() is that you don't have to repeat it.
But the method do more than just the select. Namely it doesn't bother making any DB query if no value is provided and it has one or two extra parameters (_forUpdate and _concurrencyModel).
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156