mongoimport choosing field type

后端 未结 4 1113
臣服心动
臣服心动 2020-12-17 18:21

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

4条回答
  •  我在风中等你
    2020-12-17 18:46

    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.

提交回复
热议问题