How to Scan DynamoDb Not Exists

Viewed 308

I'm using Laravel DynamoDB using this git Repo

https://github.com/baopham/laravel-dynamodb

I want to query not exists

tried this did not work

$logs = $ShopperLogs->where('date', '>=', $from)->where('date', '<=', $to)->where('op_city_id', 'Not Exists')->get();

and tried this, also did not work

$logs = $ShopperLogs->where('date', '>=', $from)->where('date', '<=', $to)->where('op_city_id', null)->get();
2 Answers
Related