Rick Goodrow
06/05/2024, 4:35 PMmysearch.run()
), is there any way to get a count of results without having to loop over each result and count by hand?erictgrubaugh
06/05/2024, 4:37 PMmysearch.runPaged().count
erictgrubaugh
06/05/2024, 4:38 PMRick Goodrow
06/05/2024, 4:38 PM.run()
or .runPaged(...)
?erictgrubaugh
06/05/2024, 4:39 PMrunPaged
Rick Goodrow
06/05/2024, 4:43 PM.runPaged()
, so looks that'll get me a summary, then if I want to get actual results, I can run .fetch()
on the result. each of which costs 5 governance.Rick Goodrow
06/05/2024, 4:45 PM.runPaged()
then .fetch()
aftewrads?erictgrubaugh
06/05/2024, 4:46 PMrun().getRange(0, 1000)
and then check the length
on the resulting arraybattk
06/05/2024, 4:49 PMRick Goodrow
06/05/2024, 4:49 PM