-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdbuse.html
73 lines (58 loc) · 1.74 KB
/
dbuse.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft Word 15 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:0cm;
margin-right:0cm;
margin-bottom:8.0pt;
margin-left:0cm;
line-height:107%;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoPapDefault
{margin-bottom:8.0pt;
line-height:107%;}
@page WordSection1
{size:595.3pt 841.9pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>
</head>
<body lang=EN-GB style='word-wrap:break-word'>
<div class=WordSection1>
<p class=MsoNormal><b><span style='font-size:24.0pt;line-height:107%'>mongo db</span></b></p>
<p class=MsoNormal><span style='font-size:22.0pt;line-height:107%'>in terminal
type: mongo </span></p>
<p class=MsoNormal><span style='font-size:22.0pt;line-height:107%'>show
databases</span></p>
<p class=MsoNormal><span style='font-size:22.0pt;line-height:107%'>use <select
db></span></p>
<p class=MsoNormal><span style='font-size:22.0pt;line-height:107%'>show
collections;</span></p>
<p class=MsoNormal><span style='font-size:22.0pt;line-height:107%'>db.<dbname>.find();</span></p>
<p class=MsoNormal><span style='font-size:14.0pt;line-height:107%;color:black'> </span></p>
<p class=MsoNormal><span style='font-size:14.0pt;line-height:107%;color:black'> </span></p>
</div>
</body>
</html>