0

I am importing address data and somehow the telephone number is being received as a longnumber by mongo. I want to be able to tell mongoimport that the telephone field should be a string, but how? I am using --headerline. Is there a way to tell mongoimport that the field named "telephone" is a string and not a longnumber? Thanks

TSV example:
last name[tab]first name[tab]address[tab]state[tab]zip[tab]telephone
JOHN[tab]DOE[tab]123 MAIN[tab]CA[tab]90210[tab]6965012222

jack.linton
  • 57
  • 1
  • 3
  • Does this answer your question? [mongoimport choosing field type](https://stackoverflow.com/questions/24223443/mongoimport-choosing-field-type) – ray Sep 14 '22 at 20:50

0 Answers0