I am learning mongoDB , version 3 and I wanted to create a collection with two fileds, a date field and a descrition field. When I try to insert a document with the below syntax, from the mongo shell, I get an error and do not know how to correct it.
> db.timeTable.insert( dateField: new Date("Oct, 04, 2012"), description: 'Next total solar eclipse visible from North America')
2016-02-08T19:34:15.474-0600 E QUERY [thread1] SyntaxError: missing ) after argument list @(shell):1:30
How should I write this insert?