We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf183a commit e46b182Copy full SHA for e46b182
lambdas/id_sync/src/ieds_db_operations.py
@@ -152,6 +152,7 @@ def get_items_to_update(old_patient_pk: str) -> list:
152
logger.info(f"Getting items to update for old patient PK: {old_patient_pk}")
153
try:
154
response = get_ieds_table().query(
155
+ IndexName='PatientGSI', # query the GSI
156
KeyConditionExpression=Key('PatientPK').eq(old_patient_pk),
157
Limit=BATCH_SIZE
158
)
0 commit comments