I am a Mongo database. There is a collection called _migrations
. I am trying to insert couple of documents into the collection. But I am getting the following error SyntaxError: Unexpected token ?
. My code is below.
db._migrations.insert([
{
"_id" : "1_create-organization-collection"
},
{
"_id" : "2_create-dataFilter-collection"
},
{
"_id" : "3_create-application-collection"
},
{
"_id" : "4_migrate-datafilters-to-mongo"
},
{
"_id" : "5_Add-Salesforce-DataFilters"
},
{
"_id" : "6_biq-repository-data-fiter"
}]);
What am I doing wrong?