Sau*_*rma 5 php amazon-dynamodb
我将 PHP 与 DynamoDB 结合使用。我正在使用“扫描”来获取一些记录。我想在这个查询中使用 Group By,就像在 MySQL 中一样。请帮忙。
$result = $client->scan([
'ExpressionAttributeValues' => [
':v1' => [
'S' => '2002',
]
],
'FilterExpression' => 'userId = :v1',
'TableName' => $this->table,
]);
return $result;
Run Code Online (Sandbox Code Playgroud)