You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, how can I replace all occurences of a string in a field?
I tried using $replaceAll and $regexReplace and few other commands but the value in the end is an object field with the literal command, not the evaluated regex replace.
Please help.
and FYI the query "$regex" seems to work fine, only the matching doc is updated.
the update section is the issue
Hey, how can I replace all occurences of a string in a field?
I tried using $replaceAll and $regexReplace and few other commands but the value in the end is an object field with the literal command, not the evaluated regex replace.
Please help.
and FYI the query "$regex" seems to work fine, only the matching doc is updated.
the update section is the issue
script:
value updated:
The text was updated successfully, but these errors were encountered: