Task: MongoDB Array Field Element Query
Task: MongoDB Array Field Element Query: a task in Terminal-Lego-15k (Harbor dataset). Demonstrate how to query a MongoDB collection to determine if an array field contains a specific element, and how to use projection to return only the matching element from the array.
The task
Demonstrate how to query a MongoDB collection to determine if an array field contains a specific element, and how to use projection to return only the matching element from the array.
Part of PrimeIntellect/Terminal-Lego-15k.