Issue Tracker - need help to understand the ":project" parameter

I’m trying to figure out how to best implement this and I’m not sure if I should use a single collection per project, or stuff all projects into one collection.

If a single collection per project is used, each issue and its details will get a unique document. But I’d have to create multiple collections as the number of projects increase - and a new collection will have to be created for additional projects - the database will run out of space soon then.

If a single collection for all projects is used, the _id wont refer to a unique issue any more.

Any thoughts?

hi… i also struggle why this is not working … any help from cooomunity please

I’ve just started this project and I’m wondering the exact same thing.

I wonder can you add an object with a mongo _id inside a document with an object _id?