Commit Graph

118 Commits

Author SHA1 Message Date
Brandon Diamond
c59d5c43e6 SERVER-3818: Documented insert command within js shell. 2011-10-05 17:58:46 -04:00
gregs
d419e25c83 Add bulk insert to shell SERVER-2395 2011-09-29 15:15:43 -04:00
agirbal
47f28e9074 CS-1507: do print() instead of returning value, cleaner and works in loop 2011-09-29 00:38:02 -07:00
agirbal
61d496c3dd SERVER-1401: Dont call getLastError if last statement didn't go to server
SERVER-1507: improve output. Also display for inserts.
2011-09-20 23:40:10 -07:00
agirbal
b9d4ce580e SERVER-2031: setSlaveOk at each level in shell 2011-09-20 23:00:36 -07:00
agirbal
0c8d421606 SERVER-1507: option in shell to print how long each command takes and certain stats 2011-09-20 14:11:24 -07:00
gregs
10ab1ed629 shell helpers for some sharding operations/status across a collection 2011-09-14 16:24:35 -04:00
Aaron
755b58fa1a fix assertion comment 2011-08-17 21:03:54 -07:00
Spencer T Brody
7f492a7c6b Allow inserting $MinKey and $MaxKey in v8 2011-07-27 11:32:35 -04:00
Steve Francia
aefc2167f4 Added $db to allowed fields with names starting with '$' 2011-06-21 13:21:09 -07:00
Mathias Stearn
6141dacd9f remove support for validate 1.9.0-specific validate output 2011-05-09 11:46:22 -04:00
Mathias Stearn
50613b6718 validate() helper support for sharding SERVER-2849 2011-03-30 16:28:21 -04:00
Mathias Stearn
b980e631d9 undefined should be quoted SERVER-2849 2011-03-30 16:07:22 -04:00
Mathias Stearn
30dd944c47 validate command now puts all data in proper fields SERVER-2849 2011-03-29 20:52:53 -04:00
Mathias Stearn
d399d0844b Add full option to validate defaulting to false SERVER-2803 2011-03-29 20:43:41 -04:00
Eliot Horowitz
b49e9338db collection._distinct helper to get raw info 2011-03-23 10:43:14 -04:00
Eliot Horowitz
af4a9aca50 fix map/reduce shell helper 2011-03-02 10:36:32 -05:00
Eliot Horowitz
5d1db75690 fix convertToSingleObject for inline map/reduce 2011-03-02 09:10:13 -05:00
Eliot Horowitz
a7eb7f2c47 shell can pass query options 2011-01-25 02:02:37 -05:00
Eliot Horowitz
017c0ab553 fir m/r error handling 2011-01-23 10:08:23 -05:00
Eliot Horowitz
5edb4cc310 able to access map/reduce error 2011-01-23 02:53:31 -05:00
Eliot Horowitz
f63206fed4 more test fixing 2011-01-21 09:01:24 -05:00
Eliot Horowitz
c31c7f3229 remove( { x : undefined } ) should not delete everything in the collection SERVER-2384 2011-01-21 02:51:21 -05:00
Aaron
d81f037c21 in MapReduceResult, don't create collection with null name, fixing some v8 tests 2011-01-10 22:52:21 -08:00
agirbal
da0bc29177 [SERVER-1951]: M/R output param should allow us to use db.collection not only collection 2011-01-05 22:06:04 -08:00
agirbal
28904fa7ae [SERVER-1988]: Upsert allows inserting records with dots in key names 2010-12-17 00:12:16 -08:00
Eliot Horowitz
c0fa671318 map/reduce no longer uses temp collections.
you have to specify out
SERVER-1837
2010-12-16 16:41:28 -05:00
Eliot Horowitz
cda009c77b throw exception if drop() given an argument SERVER-2144 2010-11-24 15:01:24 -05:00
dwight
f6a923ca3f show repl state in shell prompt. needs more work 2010-11-23 04:16:04 -05:00
dwight
8c11db1487 rs clearer 2010-11-12 16:09:14 -05:00
Eliot Horowitz
495fabb953 collection.getMongo 2010-09-08 10:36:21 -04:00
Eliot Horowitz
fa8b9a8c73 shell support for justOne for removes SERVER-1653 2010-08-22 00:52:06 -04:00
Mathias Stearn
787f22717f Revert "temporarily remove autocompleting collection names to get under stupid MSVC limit."
This reverts commit dd152a0686.
2010-08-10 14:44:10 -04:00
Mathias Stearn
dd152a0686 temporarily remove autocompleting collection names to get under stupid MSVC limit.
I hope to revert this soon once we find a better way to handle this.
2010-08-09 22:23:43 -04:00
Mathias Stearn
790d8851b3 shell tab completion SERVER-1604 2010-08-09 20:20:11 -04:00
Mathias Stearn
dd79445bbb make more commands work with mongos SERVER-1462 2010-07-22 21:03:24 -04:00
Mathias Stearn
fe54b5da1f Make findAndModify helper function return null rather than {} (no change to server API) 2010-07-01 20:40:37 -04:00
Eliot Horowitz
2f9a8039a0 typo SERVER-1310 2010-06-28 13:28:15 -04:00
dwight
d7f7155c83 shell 2010-06-17 13:46:27 -04:00
dwight
93fdeab943 better err msg 2010-06-14 16:10:23 -04:00
dwight
04529a1acf in the shell, make explain() say less unless you say explain(true) 2010-06-14 14:07:42 -04:00
Eliot Horowitz
d8b762a2ea don't pring getLastError on help() 2010-04-21 21:58:00 -04:00
Jay Ridgeway
2d818b6e4f Updated db.foo.help() to include name of the db to facilitate copy/paste. 2010-04-20 04:55:21 +08:00
Eliot Horowitz
677c053850 fix v8 and change lastID thing a bit 2010-03-01 23:16:36 -05:00
Eliot Horowitz
165b9c3ea5 write ops can't return or getLastError won't be called 2010-03-01 10:27:19 -05:00
Eliot Horowitz
11b9ab758c scaling on collstats 2010-02-27 12:11:41 -05:00
Eliot Horowitz
dd19206172 batchSize option for js and c++ 2010-02-27 11:16:26 -05:00
Eliot Horowitz
e0b1d9f763 db.foo.runCommand for running commands with a collection name 2010-02-24 13:12:37 -05:00
Mathias Stearn
d065d1bd72 Include index info in collstats command 2010-02-22 22:16:13 -05:00
Dwight Merriman
42d958985f git ignore
crlf?
2010-02-09 18:28:36 -05:00