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

Dash as the object key fails to increment/decrement #19

Open
fr3shn3ss opened this issue Nov 25, 2023 · 1 comment
Open

Dash as the object key fails to increment/decrement #19

fr3shn3ss opened this issue Nov 25, 2023 · 1 comment

Comments

@fr3shn3ss
Copy link

You can create an object like this but you can't increment it using add(). it throws "ValidationException: Invalid UpdateExpression: Syntax error; token: "-", near: "MarketplaceFacilitatorTax-Principal""

{
"srTas.MarketplaceFacilitatorTax-Principal": -7.4
}

@kayomarz
Copy link
Owner

I see. it would be great if you can you post a small example which leads to the error.
i.e. code which creates an object and then on which you try using add to increment it. this will help me get started to look into this. thanks.

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

No branches or pull requests

2 participants