Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get data from mongodb node js using mongoose

//Require Mongoose
var mongoose = require('mongoose');

//Define a schema
var Schema = mongoose.Schema;

var SomeModelSchema = new Schema({
  a_string: String,
  a_date: Date
});
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #data #mongodb #node #js #mongoose
ADD COMMENT
Topic
Name
2+4 =