laravel-airtable icon indicating copy to clipboard operation
laravel-airtable copied to clipboard

How can you use `filterByFormula`?

Open sarfarazansari opened this issue 3 years ago • 1 comments

am trying to filterByFormula but am getting success. could you please guide my how to use?

Airtable::table('default')->all(500000);

sarfarazansari avatar Aug 24 '21 05:08 sarfarazansari

I would be interested in this also. filterByFormula

I have a column that uses a multiple select on airtable.

column name = Discipline and possible values are Architect, Builder, Designer.

One row could just have Builder selected and then row 2 has Builder and Designer selected.

If I use where('Discipline', 'Builder') it will only return the 1st row (I would also like it to pull the 2nd row also). Would a filterByFormula function fix this or would it be more like a whereIn() function that would call the API differently?

projectchalkboard avatar Oct 28 '21 14:10 projectchalkboard