title: Mongoose query an array contain one of value in another array
body: <p>How do I check if an element of an array belongs to another array in Mongoose? For example, I have a document:</p>
  
  <pre><code>const userSchema = new mongoose.Schema({
  name: String,
  favor:Array
  })
  
  user1 = {
  name:'John',
  favor : ['banana', 'apple', 'eggs'].
  }
  
  user 2= {
  name:'Ethan',
  favor : ['apple', 'eggs'].
  }
  </code></pre>
  
  <p>and I have an Array</p>
  
  <pre><code>const array = ['eggs', 'banana']
  </code></pre>
  
  <p>I want to get user1. How can I do with mongoose?</p>