Appended 1 to database name to avoid conflict with aggregation p.s.
This commit is contained in:
parent
3175ea83b5
commit
151fab47d8
@ -33,7 +33,7 @@ by 5000.
|
|||||||
## Creating database & collection:
|
## Creating database & collection:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
use empDB
|
use empDB1
|
||||||
db.createCollection("Employee")
|
db.createCollection("Employee")
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -33,7 +33,7 @@ Company_name is "Infosys".
|
|||||||
## Creating database & collection:
|
## Creating database & collection:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
use empDB
|
use empDB1
|
||||||
db.createCollection("Employee")
|
db.createCollection("Employee")
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -34,7 +34,7 @@ value "Pune" and the field Pin_code with the value "411001".
|
|||||||
## Creating database & collection:
|
## Creating database & collection:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
use empDB
|
use empDB3
|
||||||
db.createCollection("Employee")
|
db.createCollection("Employee")
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user