Mongodb – throwing an error while trying to convert the data types in mongoshell
I created a database named as database and a collection called Netflix. there is a field in the database called "genres" which was of type string I need to change the data type to the array. I am trying to…