db.foo.aggregate([{$project: {a: "hi"}}])
|
assert: command failed: {
|
"errmsg" : "exception: FieldPath 'hi' doesn't start with $",
|
"code" : 16873,
|
"ok" : 0
|
} : aggregate failed
|
Error: command failed: {
|
"errmsg" : "exception: FieldPath 'hi' doesn't start with $",
|
"code" : 16873,
|
"ok" : 0
|
} : aggregate failed
|
at Error (<anonymous>)
|
at doassert (src/mongo/shell/assert.js:11:14)
|
at Function.assert.commandWorked (src/mongo/shell/assert.js:254:5)
|
at DBCollection.aggregate (src/mongo/shell/collection.js:1278:12)
|
at (shell):1:8
|
2016-02-02T12:12:03.131-0500 E QUERY Error: command failed: {
|
"errmsg" : "exception: FieldPath 'hi' doesn't start with $",
|
"code" : 16873,
|
"ok" : 0
|
} : aggregate failed
|
at Error (<anonymous>)
|
at doassert (src/mongo/shell/assert.js:11:14)
|
at Function.assert.commandWorked (src/mongo/shell/assert.js:254:5)
|
at DBCollection.aggregate (src/mongo/shell/collection.js:1278:12)
|
at (shell):1:8 at src/mongo/shell/assert.js:13
|