title: How to create a search query for partial string matches in Mongoose?
body: <p>I'm new to Mongoose.js and I'm wondering how to create a simple Mongoose query that returns values containing the characters in the order that they were submitted.  </p>
  
  <p>This will be for an autocomplete form which needs to return cities with names that contain characters input into the search field. Should I start with a <code>.where</code> query? </p>