0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
mongodb/jstests/basicb.js
2009-10-02 16:06:20 -04:00

8 lines
107 B
JavaScript

t = db.basicb;
t.drop();
assert.throws( "t.insert( { '$a' : 5 } );" );
t.insert( { '$a' : 5 } , true );