Mongodb – Slice or substring on search query mongoose so it fits the given parameter it is returning empty
I am trying to use query search in mongoose when user hast array of objects with different postalCodes. And I have an object which is called Job. At job I have postalCode as String. What I want to achieve it…