blob: ed72582fbb6c5156a7052692da0b8e06d5c55572 (
plain)
1
2
3
4
5
6
7
8
9
|
t = db.evala;
t.drop()
t.save( { x : 5 } )
assert.eq( 5 , db.eval( "function(){ return db.evala.findOne().x; }" ) , "A" );
assert.eq( 5 , db.eval( "/* abc */function(){ return db.evala.findOne().x; }" ) , "B" );
|