These are chat archives for Automattic/mongoose

Jun 2016
Paul "Joey" Clark
Jun 05 2016 13:20
One problem we have had (with aggregate queries) was sending id strings when we should have sent ObjectIds. The solution was to turn the ids into ObjectIds before we sent them, using a function like this:
const mapIdsToObjectIds = ids => => ObjectId(id));
Jack Louvton
Jun 05 2016 17:30
Hello , What is the way to format JSON string that will be automatically recognised as Mongo date ??