2

I do load aittable records via their API:

  const base = airtable.base(item.baseId);

  base("Dishes")
    .select({
    })
    .eachPage(
      function page(records, fetchNextPage) {
        tableRecords.push(...records);

        // To fetch the next page of records, call `fetchNextPage`.
        // If there are more records, `page` will get called again.
        // If there are no more records, `done` will get called.
        fetchNextPage();
      },
      function done(err) {
        if (err) {
          console.error(err);
          return;
        }
        console.log("@@Done", tableRecords.length);
      }
    );

and as a result, I receive 2202 records. But in the table in UI I do see 2271 records. And when I do export to csv - I see the same 2271 as well.

Code is pretty basic, I even remove view setting to ensure, that it's not a presentational issue.

Google did not help me (nothing related). Did anyone face the same issue? Any solution?

NB: for sure I already compared both lists and found items I do miss, but while observing those items I see nothing special there. So it says me what I do miss, but not why

2

1 Answer 1

0

const base = airtable.base(item.baseId);

base("Dishes")
  .select({})
  .all()

5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.