Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add field selector and ability to filter by formula #16

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

canozokur
Copy link

@canozokur canozokur commented Jul 3, 2021

What?

This PR will add the ability to select only defined fields and filter by an Airtable formula for the airtable_table data source.

Why?

It will reduce the records (and fields) returned by the data source because currently everything is returned at once and it's a pain to deal with when you have a fairly large table.

How?

This will add two more optional fields to the data source named fields (a list of strings) and filter_by_formula (string). Users can define a list of fields to only return them from the API and use an Airtable formula to further filter the records.

Testing

Unfortunately only locally tested, as far as I can see the tests were made with a private Airtable base.

More info

More tests should be implemented, especially for the new two parameters we've added to the data source. Can be easily tested locally though (with a private table of course)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant