I have two tables, Users and Rides.
I want to return the first and last name of all Users that have 0 rides in the Rides table.
A User object is set up with the following fields:
_id:
StravaConnect:Object {
AthleteID: 123
}
FirstName:
LastName:
A Ride object is set up with the following fields:
_id:
AthleteID: 123
Length:
How can I aggregate this data to show a list of all users where there are 0 rides where Ride.AthleteID == User.StravaConnect.AthleteID?
Note: I am using MongoDB Compass