Commit Graph

99 Commits

Author SHA1 Message Date
Tad Marshall
7c8ac68bce SERVER-4298 -- minor cleanup to db.help() output
Remove the duplicate db.getMongo().setSlaveOk() help line from db.help()
(I kept the one with the more terse text), remove an extraneous space
from the end of db.getProfilingStatus(), sort the lines alphabetically.
2011-11-17 05:41:59 -05:00
Scott Hernandez
7e14b578ff SERVER-2370: more shell help 2011-11-15 11:38:03 -05:00
Kristina
2009565604 Handle auth in C++, not JS SERVER-4241 2011-11-14 17:53:54 -05:00
Kristina
03f105bd89 Make fsync lock/unlock helpers use this 2011-11-11 12:13:13 -05:00
Kristina
437a7cc46a Make currentOp and killOp work with multi-db tests 2011-11-11 11:56:52 -05:00
nosh
f2cbb54389 SERVER-4035 - fix typo in db.Help()
added 'L' to help output for "db.fsyncUnock"
2011-10-07 12:54:57 -04:00
Kristina
a5cfd6af34 make getLastError require auth SERVER-3773 2011-09-30 13:11:21 -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
Dwight
d81d20efad minor help text 2011-09-26 12:42:54 -04:00
agirbal
ab33a82e25 SERVER-1401: getLastError only called once per line input, if a write op was executed 2011-09-21 13:46:29 -07:00
Kristina
5282745c16 fix SERVER-1507 js that broke all buildbots 2011-09-21 15:47:06 -04: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
30e2b96899 SERVER-1507: moved option at shell level 2011-09-20 15:08:06 -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
agirbal
48342721bb SERVER-3176: autoIndexId not passed if not defined to let DB decide 2011-07-11 11:42:55 -07:00
agirbal
d507628f09 SERVER-3176: autoIndexId not honored in mongo shell's createCollection command 2011-07-10 17:37:12 -07:00
Kristina
5f70df96b5 default to using rsGetStatus for slaveReplInfo SERVER-3376 2011-07-07 15:48:06 -04:00
Eliot Horowitz
5798ea831b db.logout() command 2011-06-22 13:49:25 -04:00
Kristina
5a450f3c4c added shutdownServer options SERVER-616 2011-06-10 11:13:29 -04:00
Eliot Horowitz
18dc400e68 don't allow blank usernmae or password SERVER-3003 2011-05-03 10:53:24 -04:00
Mathias Stearn
fa7fbbb1f6 support scale option to dbstats command SERVER-2174 2011-04-04 18:34:11 -04:00
Mathias Stearn
2775fa3e2b Add shell helpers db.fsyncLock() and db.fsyncUnlock() and clean up messages SERVER-2789 2011-03-17 21:12:46 -04:00
Eliot Horowitz
204fe41b71 pass verbose to printShardingStatus 2011-03-04 16:15:05 -05:00
Kristina
8ccd461948 printReplicationInfo will print slave info on a slave SERVER-2616 2011-03-03 16:56:10 -05:00
Eliot Horowitz
95694121cc db.currentOp() added all option 2011-02-18 10:16:47 -05:00
Eliot Horowitz
40b3524b75 commandHelp should complain if command doesn't exist SERVER-2392 2011-01-22 00:38:52 -05:00
Eliot Horowitz
0a18aae345 db.serverBits() to get 32 or 64 2011-01-20 17:00:37 -05:00
Eliot Horowitz
1808b56939 added getSiblingDB SERVER-2159 2010-11-29 23:09:59 -05:00
Kristina Chodorow
f8cd15152b printReplicationInfo and printSlaveReplicationInfo for rs SERVER-1890 2010-11-17 14:15:22 -05:00
Mathias Stearn
d1b5bad751 Remove underscore from db.adminCommand and add alias to old name 2010-11-01 13:39:57 -04:00
Eliot Horowitz
f3b6f4dd8d more obvious db.getReplicationInfo() before an oplog roll-over SERVER-1096 2010-09-24 00:39:48 -04:00
Eliot Horowitz
77955627fa getProfilingStatus to replace getProfilingLevel
doc -1 gets current value
SERVER-1772
2010-09-13 13:19:28 -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
Eliot Horowitz
ac5914b66f getLastErrorObj( w , wtimeout ) 2010-08-02 16:58:17 -04:00
Dwight
c625aa099d rs.slaveOk() helper and make vs2010 mongo.vcxproj work 2010-08-02 16:38:38 -04:00
dwight
0cc0b60316 shell fix ismaster helper 2010-07-29 17:44:08 -04:00
Mike Dirolf
f6d74dfaf9 minor: typo onew -> one 2010-07-29 11:19:54 -04:00
dwight
71d5118726 db.isMaster() helper in shell 2010-07-11 17:04:30 -04:00
Mathias Stearn
08c7d96d3a Prettier db.listCommands() SERVER-1337 2010-07-01 17:46:06 -04:00
Mathias Stearn
b5803d8698 Add db.serverCmdLineOpts() to shell 2010-05-15 18:27:26 -04:00
Eliot Horowitz
a2ddc10462 fix printSlaveReplicationInfo for unsynced state SERVER-1106 2010-05-09 10:19:16 -04:00
Eliot Horowitz
0347f7e728 do collection sorting client side SERVER-1090 2010-05-05 10:00:04 -04:00
Eliot Horowitz
d8b762a2ea don't pring getLastError on help() 2010-04-21 21:58:00 -04:00
Dwight Merriman
4150161551 rs 2010-04-21 21:19:37 -04:00
Richard Kreuter
19da03b95e Add some doc to setProfilingLevel(). 2010-04-08 14:59:50 -04:00
Eliot Horowitz
f59b5173ea listCommands command and db.listCommands helper 2010-04-03 21:15:00 -04:00
Eliot Horowitz
735382978a getLastError w and wtimeout helpers SERVER-467 2010-04-02 15:35:54 -04:00