How to sort by year using a date string in PyMongo Aggregate
Me and another programmer have run around in circles on this and cannot seem to find an answer online. We have a MongoDB collection into which we have inserted documents which have been pulled from an API. Each document has a field called attributes.created which is a string. The format of the string is like… Read More How to sort by year using a date string in PyMongo Aggregate