baopham/laravel-dynamodb

Query gives no result when there is huge amount of data in DynamoDB table

veerendrapatel opened this issue · 1 comments

$query = $this->qBuilder
->where(['id' => '1234'])
->where('created_at' , 'between', ['startDate', 'endDate'])
->withIndex('LocalIndex')
->limit(50)
->get()(tried with ->all())
Local Secondary Index on id(hash) and created_at(range)(it has timestamp 2021-09-29T10:11:38+00:00)
This returns empty result when I have large amount of data in DynameDB table.

this is resolved, we need to define
$compositeKey = ['key1', 'key2', 'key3'];