![update , remove and drop queries in mongodb](https://yogeshdotnet.com/wp-content/uploads/update-remove-drop-queries-in-mongodb.jpg)
update , remove and drop queries in mongodb
update , remove and drop queries in mongodb Following command will update only single document(Default behaviour) db.info.update({},{$set : { age : 40 }}) Following command will update only Multiple document db.info.update({},{$set : { age : 40 }} , {multi : true})...
![mongoDB basic queries Part-1](https://yogeshdotnet.com/wp-content/uploads/MongoDB-queries.jpg)
mongoDB basic queries Part-1
mongoDB basic queries Go to bin folder of mongo To Start Mongo server : click on mongod To Start Console for working ; click on mongo Start Writing queries Note : Mongo queries are case sensitive To Show All databases: show dbs To use database: use [databasename] To...
![server html static files into node application](https://yogeshdotnet.com/wp-content/uploads/serve-static-files-in-node.jpg)
server html static files into node application
server html static files into node application Index Us Home About Us About Us Contact Us Contact Us h1 { color: red; } var http = require('http'); var fs = require('fs'); http.createServer(function(req,res){ var content = ''; var type = ''; if(req.url === "/") {...
![](https://yogeshdotnet.com/wp-content/uploads/exports-node-modules.jpg)
Define and using Modules: node module export or import The module in the node is a simple JavaScript library where we write some variable and functions. in this tutorial, I am going to discuss that how we can define the module and import the module in another module....