Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create new connection in mongoose

const conn = mongoose.createConnection('mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]', options);
Source by mongoosejs.com #
 
PREVIOUS NEXT
Tagged: #create #connection #mongoose
ADD COMMENT
Topic
Name
6+8 =