Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
musonza committed Oct 24, 2023
1 parent e1bef86 commit 90fd067
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DynamoBreezeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,14 @@ public function exclusiveStartKey($startKey): self
public function projectionExpression(string $expression): self
{
$this->projectionExpression = $expression;

return $this;
}

public function returnConsumedCapacity(string $returnConsumedCapacity): self
{
$this->returnConsumedCapacity = $returnConsumedCapacity;

return $this;
}

Expand Down Expand Up @@ -162,7 +164,7 @@ public function batchGet(array $batchItems): DynamoBreezeResult

$requestItems[$this->config['tables'][$tableIdentifier]['table_name']] = [
'Keys' => $keys,
'ProjectionExpression' => $this->projectionExpression ?? null
'ProjectionExpression' => $this->projectionExpression ?? null,
];
}

Expand Down

0 comments on commit 90fd067

Please sign in to comment.