Open mnapoli opened 11 months ago
Hi. Try to enable debug in config and then run the query only.
There will be some debug logs of your query in your .log file under storage/logs/xxx.log (you can use daily
type and debug
as min level in the laravel logs config).
I'll look into it this weekend. 🧐
Describe the bug
When querying a table designed with "single-table design" practices, the package fails to escape index names.
Schema
The standard names for secondary indexes would be:
Here's an example of a query I do in JavaScript on that table:
That's what
ExpressionAttributeNames
is here for (to alias attribute names).I think this package needs to do the same thing and escape attribute names. Can you confirm that this isn't the case currently?
I get the following error:
Most important part:
DynamoDB doesn't like the
-
in the names.Debug info
Show the query that you're having trouble with by copy-pasting the result of:
Version info