0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
Mathias Stearn
f816dc8419 mongoimport: support for escaped " in csv with either "" or \" SERVER-773 2010-03-22 13:56:48 -04:00
Eliot Horowitz
00ca5d90fe fix for csv import where last field has " SERVER-682 2010-02-27 23:05:40 -05:00
Mathias Stearn
ac51e771de typo MINOR 2010-02-09 18:15:56 -05:00
Mathias Stearn
41f0e6d464 make tools wait until all modifications have completed before exiting 2010-02-09 17:51:15 -05:00
Mathias Stearn
cb550b0774 mongoimport and mongoexport should open files in text mode 2010-02-03 21:07:44 -05:00
Mathias Stearn
afbe8c64d9 Allocate line buffer on heap to avoid blowing the stack on windows. SERVER-410 2009-12-28 18:27:18 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
72282b1f8b better csv header line parsing 2009-12-22 14:16:48 -05:00
Eliot Horowitz
c919b7feec init fix 2009-11-28 17:43:33 -05:00
Eliot Horowitz
e0dff0748a mongoimport take --headerline for csv,tsv SERVER-444 2009-11-28 17:29:23 -05:00
Eliot Horowitz
2e23773bf9 fix csv parsing with escaped fields SERVER-441 2009-11-28 11:19:51 -05:00
Eliot Horowitz
415f5e7fa8 more error handling 2009-11-27 23:30:31 -05:00
Eliot Horowitz
ca785a0400 BDONObjBuilder::apendAsNumber
better fix for SERVER-423
2009-11-13 21:07:15 -05:00
Eliot Horowitz
02dfcf62e7 fix import with long long SERVER-424 2009-11-13 20:41:36 -05:00
Eliot Horowitz
d1057d5a9d clean trailing spaces when importing json SERVER-402 2009-11-02 09:52:58 -05:00
Eliot Horowitz
feb2a40d5f use lexical_cast instead of atoll b/c of windows 2009-10-21 14:17:58 -04:00
Eliot Horowitz
b446a74aec use long long for long int strings 2009-10-21 14:04:31 -04:00
Eliot Horowitz
1b27e7aae7 --ignoreBlanks option for import 2009-10-12 15:24:38 -04:00
Eliot Horowitz
fcd3220d16 add option to read fields from a file 2009-10-12 15:05:42 -04:00
Eliot Horowitz
65fb01f015 debugging for import 2009-10-11 20:24:12 -04:00
Eliot Horowitz
0496aa5ac7 changed mongoimportJSON to mongoimport - handles json/tsv/csv 2009-10-09 14:55:29 -04:00
Eliot Horowitz
992fc7d84c change file name 2009-02-09 11:24:21 -05:00
Eliot Horowitz
6f78b4ae5e remove the EOF check - too aggressive 2009-02-09 10:55:59 -05:00
yellow
c4e874bed7 don't try to import files of size 0 2009-01-31 21:46:47 +00:00
Eliot Horowitz
d02aa49e35 make run return and that is what the binary exits with 2009-01-29 11:56:44 -05:00
Eliot Horowitz
ba0da24261 made import use new Tool class 2009-01-27 21:37:56 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Eliot Horowitz
67419db7d1 nicer messages 2009-01-12 10:30:04 -05:00
Eliot Horowitz
27ef7c544d import 2009-01-11 23:02:19 -05:00