HF RL Explorer

Task: Implement a Many-to-Many Relationship in MongoDB

Task: Implement a Many-to-Many Relationship in MongoDB: a task in Terminal-Lego-15k (Harbor dataset). Design and implement a MongoDB schema for a many-to-many relationship between Users and Groups. A user can be a member of any number of groups, and a user can also be an owner of any number of…

The task

Design and implement a MongoDB schema for a many-to-many relationship between Users and Groups. A user can be a **member** of any number of groups, and a user can also be an **owner** of any number of groups.

Part of PrimeIntellect/Terminal-Lego-15k.