SamVerschueren / dynongo

MongoDB like syntax for DynamoDB
MIT License
58 stars 16 forks source link

Objects can't be empty #55

Closed SamVerschueren closed 4 years ago

SamVerschueren commented 7 years ago

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

wankunpp commented 5 years ago

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

SamVerschueren commented 5 years ago

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 commented 4 years ago

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