I am trying to change the type of a field from within the mongo shell.
I am doing this…
db.meta.update(
{'fields.properties.default': { $type : 1 }},
{'fields.properties.default': { $type : 2 }}
)
But it’s not working!
I am trying to change the type of a field from within the mongo shell.
I am doing this…
db.meta.update(
{'fields.properties.default': { $type : 1 }},
{'fields.properties.default': { $type : 2 }}
)
But it’s not working!