after using the API documentation it’s confusing trying to find info for the scripting app. I was expecting to be able to use maxRecords to grab the first record but that doesn’t seem to work. What am I missing here?
let queryResult = await table.selectRecordsAsync({
sorts: [
// sort by "ID" in ascending order
{field: "id"},
// then by "Title" in descending order.
{field: "title", direction: "desc"},
],
maxRecords: 1
});
