PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Friday the 27th of December, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[12:56:53] <blez> hello
[12:57:05] <blez> I have an .aggregate() which returns: https://pastebin.com/raw/1dTAQptA currently
[12:57:16] <blez> how can I push a custom value to RoleTypes?
[13:28:45] <blez> I saw, anyway thanks
[15:26:31] <Zta77> I'm a mongodb virgin and I'm trying to build my first repository in Java backed by Mongodb. I understand there are databases and collections. But how much data goes into one database? If I'm making a Zoo, should I only have one db with collections for animals, foods, staff, etc? Or one db for each of these?
[18:38:43] <GothAlice> Zta77: At this point old, but https://www.javaworld.com/article/2088406/how-to-screw-up-your-mongodb-schema-design.html introduces the "concerns".
[18:39:04] <GothAlice> The question is fundamentally "premature optimization" until you have some data you are trying to model.
[18:39:39] <GothAlice> I could put a goodly chunk of the library of congress into a single record. Is this a good idea? Probably not.