Hi, to get all the documents with title length size =1, my approach is
=> I $split the [title, " "], Then use $size to get the length, with a variable name title_size, so far so good
=> Then I added a new pipeline with $match title_size equal to 1
On the compass, it returns the result that I was expecting. But on the terminal, I am getting => Cannot read property ‘_id’ of undefined.
Does anyone know what am I missing???