mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
9 lines
181 B
JavaScript
9 lines
181 B
JavaScript
db = connect( "test" );
|
|
t = db.jni7;
|
|
t.drop();
|
|
|
|
assert.eq( 17 , db.eval( function(){ return args[0]; } , 17 ) );
|
|
|
|
assert.eq( 17 , db.eval( function( foo ){ return foo; } , 17 ) );
|
|
|