-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dbshell
99 lines (99 loc) · 1.77 KB
/
.dbshell
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
use timetable
show collections
db.tsets.find()
db.tests.find()
use timetable
show collections
db.tests.find()
use timeTable
show dbs
use timetable
show collections
db.tests.find()
use timetable
db.tests.find()
use timetable
db.tests.find()
use timetable
db.tests.find()
use timetable
db.club.find()
use timetable
use timetable
db.tests.find()
use timetable
db.tests.find()
use timetable
db.club.find()
use timetable
db.club.find()
db.club.drop()
db.create(club)
db.createCollection(club)
db.createCollection("club")
db.insert.club({"temp" : "1","club" : ["hurricane", "spacs", "ewb","line"]})
db.club.insert({"temp" : "1","club" : ["hurricane", "spacs", "ewb","line"]})
show collections
db.club.find()
use timetable
db.club.find()
show dbs
use timetable
show dbs
db.tests.find()
wq
use timetable
db.club.find()
db.tests.find()
show dbs
use timetable
db.tests.find()
show dbs
use timetable
show collections
db.tests.find()
show dbs
use timetable
dbs
db
show db
show dbs
use timetable
show collections
db.kaist2000.drop()
show collections
db.kaist2000_2.drop()
show collections
xit
show dbs
use timetable
db.club.find()
show dbs
use timetable
db.tests.find()
db.club.find()
use timetable
db.tests.find()
wxit
use timetable
show dbs
use test
show dbs
use timetable
show collections
db.tests.find()
use timetable
show dbs
show collections
db.club.find()
use tests
db.test.find()
db.tests.find()
show collections
use timetable
show collections
db.tests.find()
db.tests.insert({school : "KAIST", name: "서혜인" , club:[], subject:[], studentid: "2015", password: "1234"})
db.tests.find()
db.tests.insert({school : "KAIST", name: "송재엽" , club:[], subject:[], studentid: "2016", password: "1234"})
db.tests.insert({school : "KAIST", name: "이대승" , club:[], subject:[], studentid: "2013", password: "1234"})