Hello,
I would like to ask about time complexity of getRecord method. Does this method have O(1) complexity since the method needs specific id of record?
Thank you
Hello,
I would like to ask about time complexity of getRecord method. Does this method have O(1) complexity since the method needs specific id of record?
Thank you
Yes, getRecord() retrieves a single record by its unique ID, so it is generally the most efficient option for this use case. However, we do not officially guarantee an exact Big‑O complexity such as O(1), as the actual performance also depends on database processing, permissions, returned fields, and network latency.