I am testing queries in the console and would like to implement them in my code. I was curious how to get this one in my Node.js code. I think it has something to do with QueryFilter
but I am struggling to get it.
let params = {
TableName: tableName,
KeyConditionExpression:
'TimeId = :timeId and begins_with ( TypeKey , :typeKey) ',
QueryFilter: ?,
ExpressionAttributeValues: {
':timeId': `${year}-${week}`,
':typeKey': 'GA',
},
};