Hi folks,
I’m using filterByFormula param to filter records of a table but I’m able to select for a specific date.
Below and example:
request:
https://api.airtable.com/v0/appFOOBAR/Spese?filterByFormula=AND({Importo}=111.22,{Data}='2022-04-01')
response:
{
"records": s]
}
while with the request below I got a result:
https://api.airtable.com/v0/appFOOBAR/Spese?filterByFormula=AND({Importo}=111.22,not({Data}='2022-04-01'))
response:
{
"records": s
{
"id": "recXXXX",
"createdTime": "2022-05-24T09:38:50.000Z",
"fields": {
"Tipologia": "Spesa",
"Data": "2022-04-01",
"Importo": 111.22,
"Name": "Prova 1"
}
}
]
}
so the example using not
operator shows that there’s a record with Data=2022-04-01
, I don’t understand why this record isn’t extracted using the first request.