How to make rpc call return more than 1000 records?

const { data: subscribers, error: subscribersError } = await supabase
.rpc('get_....', { active_subs: activeSubscriptions })

I tried to use a mix of range and a while loop but that did not seem to work out as expected.
Was this page helpful?