-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.0.0
-
Component/s: JavaScript, Querying, Shell
-
None
- mongo test
MongoDB shell version: 1.0.0
url: test
connecting to: test
type "help" for help
> db.test.save(Unknown macro: {a})
> db.test.save(Unknown macro: {a})
> db.test.save(Unknown macro: {a})
> db.test.save(Unknown macro: {a})
> db.test.save(Unknown macro: {a})
> db.test.save(Unknown macro: {a})
> db.test.group(Unknown macro: {key})
{"errmsg" : "can't only handle real keys right now, not functions" , "ok" : 0}
Thu Sep 3 13:17:19 JS Error: uncaught exception: group command failed:
> db.test.group({keyf: function(el){ return
{el.a.b:true}; }, initial:
{ count: 0 }, $reduce: function(o, i)
{ i.count += 1; } })
Thu Sep 3 13:32:03 JS Error: SyntaxError: missing : after property id (shell):0