MongoDB data types explained

56 Views
Published
#MongoDB #course #tutorial

db.students.insertOne(
{
name: "Larry",
age: 32,
gpa: 2.8,
fullTime: false,
registerDate: new Date(),
graduationDate: null,
courses:["Biology", "Chemistry", "Calculus"],
address:{street:"123 Fake St.",
city:"Bikini Bottom",
zip: 12345}
}
)
Category
Bro Code
Tags
MongoDB course, MongoDB tutorial, MongoDB coding
Be the first to comment