diff --git a/src/query/primary-key.ts b/src/query/primary-key.ts index e93db9d..487dbc3 100644 --- a/src/query/primary-key.ts +++ b/src/query/primary-key.ts @@ -157,7 +157,7 @@ export class PrimaryKey = input == null ? ((range == null || isKeyValue(range)) ? {} : range as PrimaryKeyGetInput) : input getGetInput.key = record.getDynamoKey() const getItemInput = this.getGetInput(getGetInput as PrimaryKeyGetGetItemInput) - const hasProjection = getItemInput.ProjectionExpression == null + const entireDocument = getItemInput.ProjectionExpression == null let dynamoRecord: GetItemOutput try { @@ -167,7 +167,7 @@ export class PrimaryKey