Hi, I am trying to get selectRecordsAsync() to work. I looked up some older posts here and know that the old version was depricated I have to add an array of the field values, however it's still not working.
Here is my code:
Hi, I am trying to get selectRecordsAsync() to work. I looked up some older posts here and know that the old version was depricated I have to add an array of the field values, however it's still not working.
Here is my code:
Best answer by Jack_Manuel
As your function is async you need to await the call to it.
async function updateCompanyDomains() {
let table = base.getTable("MyTableName");
let queryResult = await table.selectRecordsAsync({fields: table.fields});
console.log(queryResult)
}
await updateCompanyDomains()Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.