Commit Graph

28 Commits

Author SHA1 Message Date
Eliot Horowitz
1f08223ab7 make shell use group cmd by default (can use groupeval if you want)
fix group where no key specified
2009-08-24 11:59:00 -04:00
Dwight
f67e06ba64 improve help for group()

2009-08-24 11:42:15 -04:00
Eliot Horowitz
19c885c5a8 better error handling 2009-08-19 12:10:32 -04:00
Eliot Horowitz
fcf1ca0afa make a group cmd that takes the same arguments as old db.eval version
still using js reduce function, but considerably faster
2009-08-19 11:51:16 -04:00
dwight
4120dfc568 fix checks that operations cannot be performed on slaves; also, allow read operations on
--slave instances (but not repl pair nonmasters)
2009-08-17 16:13:13 -04:00
Eliot Horowitz
e11d9c7efb db.version() for server version and in help SERVER-200 2009-08-14 17:55:17 -04:00
Eliot Horowitz
e3cfc2264a added currentOp/killOp 2009-08-11 12:59:00 -04:00
Eliot Horowitz
e44b51ee69 make copyDatabase use admin db automatically SERVER-222 2009-08-10 13:31:48 -04:00
Eliot Horowitz
909a6bfd7a fix shutdownServer secutiy check MINOR 2009-08-05 17:05:59 -04:00
Eliot Horowitz
9ff7fa1d89 throw an exception if arguments are passed to draopDatabase() 2009-07-23 20:51:01 -04:00
Eliot Horowitz
252c621fc3 better error check, and clean shutdownServer message SERVER-152 2009-07-13 16:32:17 -04:00
Eliot Horowitz
d5122c9b90 change Map to use Map.get Map.put Map[] won't work
more tests for group
2009-06-08 10:54:55 -04:00
Eliot Horowitz
77dbf16bac killOp and currentOp helpers
SERVER-74
2009-05-26 16:42:21 -04:00
Eliot Horowitz
6a06a6cb3c print shell stuff 2009-05-14 17:37:21 -04:00
Eliot Horowitz
c9d8450389 Spider Monkey: framework mostly done now 2009-05-05 17:28:24 -04:00
Eliot Horowitz
1a739255bd Spider Monkey: closer to db integration 2009-05-04 16:49:05 -04:00
Aaron
e910263ed2 Additional fix for cloneCollection() js function 2009-02-26 12:16:48 -05:00
Aaron
c7496cc9bf Update cloneCollection js function to match updated command spec 2009-02-26 12:12:25 -05:00
Aaron
9d9869484a Add cloneCollection to shell 2009-02-18 16:44:56 -05:00
Eliot Horowitz
640d9fc0ac getSisterDB 2009-02-13 10:01:31 -05:00
Eliot Horowitz
65687c9303 command helper system
runCommand( { "blah" : 1 , help : true } )
in shell db.commandHelp( "blah" )
2009-02-13 09:44:07 -05:00
Dwight
8154c0af5e db.shutdownServer() in shell 2009-02-11 09:34:00 -05:00
Eliot Horowitz
5b8a108923 removeUser 2009-02-07 10:27:22 -05:00
Dwight
0c2e6bc6e9 more shell command helpers 2009-02-05 16:05:06 -05:00
Dwight
50538e88c3 db.getReplicationInfo() in shell 2009-02-05 15:41:34 -05:00
Dwight
fac2ee626f mamke getCollectionNames() in the shell prettier
overlogging
2009-02-03 14:42:53 -05:00
Eliot Horowitz
120f859704 change password digest
from md5( "mongo" + pwd )
to md5( username + ":mongo:" + pwd )
2009-01-30 15:06:12 -05:00
Eliot Horowitz
4ffda5ea25 dbshell 2009-01-26 22:19:15 -05:00