HF RL Explorer

Task: Set a Custom Primary Key in MongoDB

Task: Set a Custom Primary Key in MongoDB: a task in Terminal-Lego-15k (Harbor dataset). Demonstrate how to set a custom field as the primary key ( id ) in MongoDB by creating a collection that uses a user-defined field as its primary key instead of the default auto-generated ObjectId.

Part of PrimeIntellect/Terminal-Lego-15k.