Home > database >  Mongoimport import CSV file field name space
Mongoimport import CSV file field name space

Time:09-25

Mongoimport import CSV file data, the more strange things, the import of the first field no matter what thing, in the end there is always a space in front of the field
CSV format below the first field is absolutely no Spaces


This picture is to use robomongo see field, without any special


This picture is the result of using nodejs query, you can see the first field can see there is a space


This picture is to use the shell of the query results, there is a space to be the first field


What is the reason this is the case? Can directly modify the field name?
  • Related