summaryrefslogtreecommitdiff
path: root/jstests/core/evale.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/evale.js')
-rw-r--r--jstests/core/evale.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/evale.js b/jstests/core/evale.js
new file mode 100644
index 00000000000..af5a303f167
--- /dev/null
+++ b/jstests/core/evale.js
@@ -0,0 +1,5 @@
+t = db.jstests_evale;
+t.drop();
+
+db.eval( function() { return db.jstests_evale.count( { $where:function() { return true; } } ) } );
+db.eval( "db.jstests_evale.count( { $where:function() { return true; } } )" ); \ No newline at end of file