Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

connect to existing collection mongoose

new Schema({ url: String, text: String, id: Number}, 
           { collection : 'question' });   // collection name
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #connect #existing #collection #mongoose
ADD COMMENT
Topic
Name
2+7 =