electrodb
electrodb copied to clipboard
Query validation error - gt and lte create erroneous filter expression
Describe the bug
When using gt
or lte
ElectroDB adds an erroneous filter expression which can cause the DynamoDB client to throw a validation error because filter expressions cannot contain SK attributes.
ElectroDB Version 2.5.1
ElectroDB Playground Link ElectroDB Playground
Entity/Service Definitions All in Playground
Expected behavior No filter expression to be added
Errors
Filter Expression can only contain non-primary key attributes