From 3bc0f9cd44cb1dc52defb53d461588db298211b9 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 23 Jul 2022 18:56:18 +0430 Subject: updates --- db/mongo/build_db.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'db') 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); -- cgit v1.2.3