diff options
author | terminaldweller <thabogre@gmail.com> | 2022-07-23 14:26:18 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-07-23 14:26:18 +0000 |
commit | 3bc0f9cd44cb1dc52defb53d461588db298211b9 (patch) | |
tree | 38f325441023b6d76c48c5f3b6bb5f6fb1b3adde /db/mongo/build_db.js | |
parent | secrets (diff) | |
download | scripts-3bc0f9cd44cb1dc52defb53d461588db298211b9.tar.gz scripts-3bc0f9cd44cb1dc52defb53d461588db298211b9.zip |
updates
Diffstat (limited to '')
-rw-r--r-- | db/mongo/build_db.js | 6 |
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); |