DynamoidbでCodeigniter 3でクエリを作成するには、どのようにインデックスを追加するのですか?私の例ではcodeigniter 3とdynamodbを使用したクエリ
私は次のエラーを取得する:
1 validation error detected: Value null at 'hashKeyValue' failed to satisfy constraint: Member must not be null
は、これは私の例です:あなたはこのエラーを取得している
function obtener($fecha_registro) {
$client = new AmazonDynamoDB();
$response = $client->query(array(
'TableName' => 'nom_table',
'KeyConditionExpression' => 'id_registro = :v_hash and fecha_registro = :v_range',
'ExpressionAttributeValues' => array (
':v_hash' => array('S' => '148537355319'),
':v_range' => array('S' => $fecha_registro)
)
));
print_r($response);
if ($response->status == '200'){
return $response->body->Items;
} else {
print_r($response);
}
}
[[関連項目fを取得できません] ROMのDynamoDBコアデータを使用して](http://stackoverflow.com/questions/14381937/unable-to-fetch-related-item-from-dynamodb-using-core-data) – LuFFy