im using aws dynamo db to fetch all datas from a userkyc table where kyc_status should be "A" and "D". Below code i can only use either "A" or "D". How do i fetch all data for both conditions. Help will be appreciated!
var params = {
TableName: "user_kyc",
ProjectionExpression: "email, uid, kyc_status",
KeyConditionExpression: "#kyc_status = :kyc_status",
ExpressionAttributeNames: {
"#kyc_status": "kyc_status",
},
ExpressionAttributeValues: {
":kyc_status": "A"
},
FilterExpression: "#kyc_status = :kyc_status"
};