0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/jstests/basicb.js

8 lines
107 B
JavaScript
Raw Normal View History

2009-10-02 22:06:20 +02:00
t = db.basicb;
t.drop();
assert.throws( "t.insert( { '$a' : 5 } );" );
t.insert( { '$a' : 5 } , true );