Hi I am using version 4 and wanted to do the following 'atomically' but not having alot of luck with the atomically block:
User.elem_match(groups:
{'events.uuid' => events[ele_index]['uuid']}).inc(inc_selector => 1 )User.elem_match(groups: {'events.uuid' => events[ele_index]['uuid']}
).push(push_selector => like_by_id)
Any idea how i can do that?
Thanks
Charlie