function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sudhakarreddysudhakarreddy 

can anybody tell me about Query cursor. And any related docs

Best Answer chosen by sudhakarreddy
Vinita_SFDCVinita_SFDC
Hello,

Cursors is equivalent of query result sets .  Cursor is a reference to the the result set for a soql query.

Select Id, name, (select Id, name from contacts) from account

Will account for 2 open cursors.

Please refer following link: http://www.interactiveties.com/b_batch_apex_invalid_query_locator.php