mongoose

A 1 posts collection

Mongoose objects and the IN operator

Today I lost a few hours trying to understand why a document that I was fetching through Mongoose, kept returning true against checking for a field with the operator, even though the document didn't contain that field. But still it would return... »

I'm Kostas Bariotis, a web developer, a proud wanderer and a passionate doer. My mission is to write clean and efficient code, to solve problems on the Web and to learn something more. Read more about me or get in touch.