So… As you didn’t read my question properly, I’m here to answer it.
Using the airtable package, airtable.js, I’d reached what I wanted using the filterByFormula inside the select() function with a custom function that concatenates the fields I want to filter by using the AND() clause.
Here’s the solution:
function generateFilterWhereField(field, data){
var filter = "{" + field + "} = \\"" + data + "\\"";
return filter;
}
function generateAndFilter(fieldsAndValues){
var filter = "AND(";
for(let key in fieldsAndValues){
console.log(key);
filter += generateFilterWhereField(key, fieldsAndValues[key]);
filter += ',';
}
return filter.substring(0,filter.length-1) + ")";
}
It helps identify a single record inside your table, when you don’t have the Hash ID information to use .find().