Project only 1 element in an array

Sorry about that Steeve. So I was using
{_id: 1, CustomerID: 1, PaymentMethod.CardType: 1} and I shouldve been using
{_id: 1, CustomerID: 1, “PaymentMethod.CardType”: 1} was just missing quotes

1 Like