Commit c4a26cae authored by Omar Elkadi's avatar Omar Elkadi
Browse files

nothing

parent 04fc3a1b
......@@ -72,10 +72,10 @@ export class patientRoutes {
// create the collection if not exist
try{
await db.createCollection( "Students",{} )
console.log("Collection Student is created")
console.log("new collection Student is created")
}
catch(error){
console.log("Collection already exists, so it didnot be created")
console.log("Collection is already exists, so it would not be created")
}
// define a collection and insert a new record
try {
......
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