When importing data from file (csv in my case) mongoimport automatically choose data type for each field.
Is it possible to choose data type manually for specific fi
What you can do is import these data using CSV and then run the update statement on the existing data in mongo db to convert it into the format that you want.