mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
9 lines
108 B
JavaScript
9 lines
108 B
JavaScript
|
|
t = db.date1;
|
|
t.drop();
|
|
|
|
d = new Date()
|
|
t.save( { a : 1 , d : d } );
|
|
|
|
assert.eq( d , t.findOne().d , "A" )
|