Is there a way to unset a const in the mongo shell.
When trying the delete operator, I get the following output:
> const myconst = {"test":123}
> myconst
{ "test" : 123 }
> delete myconst
false
>
Is there a way to unset a const in the mongo shell.
When trying the delete operator, I get the following output:
> const myconst = {"test":123}
> myconst
{ "test" : 123 }
> delete myconst
false
>