BenjaminChampetier
11/7/2017 - 2:05 PM

Mongodb Winx64

Install and set-up of Mongodb 3.4 on your computer

show collections;
db.collection.find( ).pretty( );
db.collection.update( { }, { } );
db.collection.update( { }, {$set:{ } } );
db.collection.update( { }, {$inc:{ } } );
db.collection.update( { }, {$unset:{ } } );
db.collection.update( { }, { }, {upsert:true});
db.collection.update( { }, {$rename:{ } } );
db.collection.remove( { }, {justone:true} );
db.collection.find( {$or: [ { }, { } ] } );
db.collection.find( {lt ; { } } );  //or greater
db.collection.find( ).sort( { 1 } ); //or -1
db.collection.find( ).count( { 1 } );
db.collection.find( ).limit( );
db.collection.find( ).forEach( );
1) Install mongodb set-up
2) Put it to C (save time to set path)
3) Create the files  log next to bin
4) Create and data/db in C:\
5) Create a file mongod.cfg 
    logpath=C:\MongoDB\Server\3.4\log\mongo.log
    dbpath=C:\data\db
6) Configure the server in the shell "C:\MongoDB\bin\mongod.exe --config C:\MongoDB\bin\mongod.cfg"
7) Run the server