-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestdb.js
60 lines (59 loc) · 2.77 KB
/
testdb.js
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
conn = new Mongo();
db = conn.getDB("tipi");
db.alerts.deleteMany({});
db.alerts.insertMany([
{
"_id" : "4be4373d380234522242344322343422d2ad044e",
"email" : "[email protected]",
"searches" : [
{
"hash" : "51b96504da7b14121a860d9e6f75de2b7f1e2942",
"search" : "{\"topic\":\"ODS 6 - Agua limpia y saneamiento\",\"subtopics\":[\"6.1 Acceso universal al agua\"],\"tags\":[\"Acequia\"]}",
"created" : ISODate("2018-11-28T12:09:39.028Z"),
"validated" : false
},
{
"hash" : "c943451e8251a007342340bb097e820b91c7ac14",
"search" : "{\"topic\":\"ODS 6 - Agua limpia y saneamiento\",\"subtopics\":[\"6.1 Acceso universal al agua\"],\"tags\":[]}",
"created" : ISODate("2018-11-28T12:09:55.241Z"),
"validated" : false
}
]
},
{
"_id" : "4be4373d3802341231231aabd2343422d2ad044e",
"email" : "[email protected]",
"searches" : [
{
"hash" : "51b96504da7b14121a860d9e6f75de2b7f1e2942",
"search" : "{\"topic\":\"ODS 6 - Agua limpia y saneamiento\",\"subtopics\":[\"6.1 Acceso universal al agua\"],\"tags\":[\"Acequia\"]}",
"created" : ISODate("2018-11-28T12:09:39.028Z"),
"validated" : false
},
{
"hash" : "c943451e8251a007342340bb097e820b91c7ac14",
"search" : "{\"topic\":\"ODS 6 - Agua limpia y saneamiento\",\"subtopics\":[\"6.1 Acceso universal al agua\"],\"tags\":[]}",
"created" : ISODate("2018-11-28T12:09:55.241Z"),
"validated" : true
}
]
},
{
"_id" : "4be43923478573849348344322343422d2ad044e",
"email" : "[email protected]",
"searches" : [
{
"hash" : "51b96504da7b14121a860d9e6f75de2b7f1e2942",
"search" : "{\"topic\":\"ODS 6 - Agua limpia y saneamiento\",\"subtopics\":[\"6.1 Acceso universal al agua\"],\"tags\":[\"Acequia\"]}",
"created" : ISODate("2018-11-28T12:09:39.028Z"),
"validated" : true
},
{
"hash" : "c943451e8251a007342340bb097e820b91c7ac14",
"search" : "{\"topic\":\"ODS 6 - Agua limpia y saneamiento\",\"subtopics\":[\"6.1 Acceso universal al agua\"],\"tags\":[]}",
"created" : ISODate("2018-11-28T12:09:55.241Z"),
"validated" : true
}
]
}
]);