aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/mongo/build_db.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/mongo/build_db.js b/db/mongo/build_db.js
index 57fd633..93884f0 100644
--- a/db/mongo/build_db.js
+++ b/db/mongo/build_db.js
@@ -49,6 +49,12 @@ const mangas = {
db = connect("192.168.1.109:27117/devi");
+const movies = {
+ "mad god": "https://www.imdb.com/title/tt15090124/",
+};
+
+db.movies.insertOne(movies);
+
var mangas_entry = db.mangas.find({});
Object.keys(mangas_entry).forEach((prop) => {
console.log(prop);