paint-brush
Combining MongoDB Collectionsby@ethan.jarrell
6,919 reads
6,919 reads

Combining MongoDB Collections

by Ethan Jarrell3mFebruary 13th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Recently, I had been working with a database I had created several months before. For that particular project, I had created a separate database collection for each group of items. At the time, I had a collection of books and articles, sorted by topic, and for some reason, had put all books and articles in separate collections based on topic. Then, I created endpoints for each topic. That way, I can switch out the url collection for the topic the user searched for, like this:

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Combining MongoDB Collections
Ethan Jarrell HackerNoon profile picture
Ethan Jarrell

Ethan Jarrell

@ethan.jarrell

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Bitcoininsider
Echojs
Echojs
Echojs
Echojs
Echojs
Semanticjuice
Mobillegends