aboutsummaryrefslogtreecommitdiffstats
path: root/db/mongo/build_db.js
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-23 14:26:18 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-23 14:26:18 +0000
commit3bc0f9cd44cb1dc52defb53d461588db298211b9 (patch)
tree38f325441023b6d76c48c5f3b6bb5f6fb1b3adde /db/mongo/build_db.js
parentsecrets (diff)
downloadscripts-3bc0f9cd44cb1dc52defb53d461588db298211b9.tar.gz
scripts-3bc0f9cd44cb1dc52defb53d461588db298211b9.zip
updates
Diffstat (limited to '')
-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);