Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Anyone know how to select the top 5 rows using a gliderecord query?

DrewW
Mega Sage

Anyone know how to select the top 5 rows using a gliderecord query? Trying to avoid a loop counter.

6 REPLIES 6

DrewW
Mega Sage

setLimit works, cool, thanks.


Christopher_Mal
ServiceNow Employee

Thanks.