Upload New File

parent 05d5401f
db.Client.drop()
db.Animal.drop()
db.Traitement.drop()
db.Client.insert(
{
"nom":"Harlan",
"prenom":"Wise",
"ddn":"1970-09-07",
"adresse":"Apdo.:630-5180 Fusce Avenida",
"nTelefone":"0132102368"
}
)
db.Client.insert(
{
"nom":"Lee",
"prenom":"Munoz",
"ddn":"1985-01-31",
"adresse":"5900 Faucibus",
"nTelefone":"0721229832"
}
)
db.Animal.insert(
{
"Client":ObjectId("590c366d70f50381c920ca71"),
"nom":"Nita",
"poids":"3079",
"taille":"62",
"ddn":"2018-07-26",
"espece":{
"nomEspece":"lapin",
"nomClase":"mammifere"
}
}
)
db.Animal.insert(
{
"Client":ObjectId("590c366d70f50381c920ca71"),
"nom":"Tanisha",
"poids":"4107",
"taille":"12",
"ddn":"2018-06-11",
"espece":{
"nomEspece":"lapin",
"nomClase":"mammifere"
}
}
)
db.Animal.insert(
{
"Client":ObjectId("590c366d70f50381c920ca72"),
"nom":"Rajah",
"poids":"3221",
"taille":"28",
"ddn":"2011-10-12",
"espece":{
"nomEspece":"hamster",
"nomClase":"mammifere"
}
}
)
db.Traitement.insert(
{
"Animal":ObjectId("590c366d70f50381c920ca91"),
"Medicaments":[
{
"nomMolec":"DOLIPRANE",
"dateDebut":"2019-01-14",
"nbJours":"3"
},
{
"nomMolec":"LEVOTHYROX",
"dateDebut":"2018-19-14",
"nbJours":"4"
}
]
}
)
db.Traitement.insert(
{
"Animal":ObjectId("590c366d70f50381c920ca92"),
"Medicaments":[
{
"nomMolec":"DAFALGAN",
"dateDebut":"2018-11-04",
"nbJours":"4"
}
]
}
)
db.Traitement.insert(
{
"Animal":ObjectId("590c366d70f50381c920ca93"),
"Medicaments":[
{
"nomMolec":"FORLAX",
"dateDebut":"2018-10-11",
"nbJours":"5"
},
{
"nomMolec":"LAMALINE",
"dateDebut":"2019-02-08",
"nbJours":"4"
}
]
}
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment