C
C#2y ago
Krzak

❔ MongoDB modified console output

I want one of the console app's functions to be displaying all documents from a collection but not in a "raw" way (quotation marks, brackets etc.) that simply iterating does. I'd like to do something similar to inerpolation so there's a message that I can insert values into or can define how the document's fields are displayed myself. I'm looking into cursors and projection but projection only "cuts out" what isn't needed, according to a query, the raw database "look" is still there. Is it even possible to do what I want with mongodb? Using pretty() still leaves the brackets and quotations. Or maybe it's in "deserializing BSON territory"? It's my first time using any database.
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server