I hereby claim:
- I am 1000miles on github.
- I am 1000miles (https://keybase.io/1000miles) on keybase.
- I have a public key ASBs053fYNNPkfEBRd_pb2WmhhfX9Ca8BdfNuZAf_jgLQAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Install mongoose npm install mongoose
require mongoose in the app.js
=> const mongoose = require("mongoose");
Connect to database with mongoose => mongoose.connect("mongodb://localhost/mongoose-example")
Create an overall schema => const Schema = new mongoose.Schema;
Create a user schema with already instantiated Schema =>
const userSchema = new mongoose.Schema({
In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.
The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.