Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Objects can't be empty #55

Closed
SamVerschueren opened this issue Aug 24, 2017 · 3 comments
Closed

Objects can't be empty #55

SamVerschueren opened this issue Aug 24, 2017 · 3 comments
Labels

Comments

@SamVerschueren
Copy link
Owner

When you provide a query which results in empty AttributeValues for instance, this will fail when executed against DynamoDB.

@wankunpp
Copy link

wankunpp commented Dec 6, 2018

Remove ExpressionAttributeValues if it is an empty object will make it work for me.

@SamVerschueren
Copy link
Owner Author

I made this issue a long time ago and can't really recall when this exactly happens. Do you have a small query example that I can use which fails so I can test your solution?

@SamVerschueren
Copy link
Owner Author

Ok, I found out that when using .where({firstName: {$exists: true}}) causes this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants