-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Engines - Server Integration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
There is a version of Helpers::findOne() that supports returning the matching document via the result output parameter. However, it first looks up the RecordId via the version of Helpers::findOne() that doesn't take in the output parameter and then use that to look up the document. That version of findOne actually has access to the document here. So the version of Helpers::findOne() that supports returning the matching document could use that instead of looking up the document again.