Open mzientkowski opened 11 months ago
Dynamoid doesn't support yet conditions on/updating of nested attributes or array elements.
But migration from deprecated attributes to the new expression-like ones (e.g. mentioned in the example above condition_expression
and update_expression
) is in progress. I've stated with #where
method (https://github.com/Dynamoid/dynamoid/pull/655) and hopefully will migrate all the public methods till the next release.
Hi, i'm using latest version (v 3.9.0) and I try to update element in array with condition. Here is example:
it doesn't work and ends with an error:
I managed to achieve this using low-level methods
And it works:
it would be nice if it also worked from Dynamioid level. Or maybe i'm doing something wrong, so please provide working example ;) Thanks