Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

insert a data into mongo using express

var mongoose = require("mongoose");mongoose.Promise = global.Promise;mongoose.connect("mongodb://localhost:27017/node-demo");
Source by codeburst.io #
 
PREVIOUS NEXT
Tagged: #insert #data #mongo #express
ADD COMMENT
Topic
Name
4+3 =