Feb 25, 2017 04:29 AM
Hi
Doing a test to implement AirTable with Qlik Sense, and I’m struggling with the setup for the pagination in the Qlik REST connector. How can I do a api-call to just get “total rows” /or “number of records” in a table? Or is the only way to loop until there is no value in the offset field?
Thanks for any help
Robert Svebeck
Feb 26, 2017 11:32 AM
I typically loop until there is no offset provided, however I make the API result as light as possible by providing the fields parameter and specifying either nothing or a single field.
Oh how I want the metadata API!
Feb 26, 2017 01:34 PM
Ok, thanks Chester. I will continue to loop and loop and loop until the meta data api is here :slightly_smiling_face:
Apr 05, 2020 06:36 PM
export const countRecords = async (table: Airtable.Table<any>) => {
const records = await table.select().all()
return records.length
}