Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Can I "filter" on selectRecordsAsync?

Topic Labels: Automations
Solved
Jump to Solution
1443 1
cancel
Showing results for 
Search instead for 
Did you mean: 

The documentation page for RecordQueryResult says “…filtered to a useful subset of the records in the table.”

I see that it’s possible to sort and specify which fields are returned but I can’t figure out how to actually filter on selectRecordsAsync.

Being able to filter here would be awesome because then I won’t have to manually create views. (Or if it were possible to programmatically create Views I could create the ones I need when a new employee is onboarded.)

Thanks!

1 Solution

Accepted Solutions

You can’t currently specify a filter when you call selectRecordsAsync. However, the records might be filtered if you call it from a view instead of from a table.

You have to use JavaScript to filter the records after you retrieve them.

See Solution in Thread

1 Reply 1

You can’t currently specify a filter when you call selectRecordsAsync. However, the records might be filtered if you call it from a view instead of from a table.

You have to use JavaScript to filter the records after you retrieve them.