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

Update Item in nested array #251

Open
consigliory opened this issue Jan 19, 2016 · 1 comment
Open

Update Item in nested array #251

consigliory opened this issue Jan 19, 2016 · 1 comment

Comments

@consigliory
Copy link

I am new to rethink and rethink.net driver and cannot find way to update item in nested array.

Test
-- []Question
--------[]Answer

I need to update 3rd level of nested element(answer) and only way I can do it for now is to read value update it and then call rethinkdb.net to replace document. Which is obviously not the best way.
I try some few ways and all of them completely valid c# (linq) but throw exp on conversion to ReQL.

@mfenniak
Copy link
Owner

Hm... I don't think there's any way to do this with the driver today. Is this possible with other RethinkDB drivers, without dropping down to using r.js() to execute JavaScript? I can't quite picture how these queries would work given the internals of ReQL.

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