title: Sequelize where condition for nested models
body: <p>I have a database with notes and users.Now i want to get all notes where note content = something or users.name = something.I can write this query easily with SQL but couldn't get it working with  sequlizer.</p>
  <pre><code>Note.findAll({
     include: [
               { model: Users, where: { name: 'something' }}
      ]
  })
  </code></pre>
  <p>expected query is</p>
  <pre><code>select * from users,notes where notes.content='something' or users.name='something'
  </code></pre>
  <p>The issue is Note is not inside include so I cannot use</p>
  <pre><code>where: {
       '$or':{
  </code></pre>
  <p>My question is how to have where with or condition on nested table using sequelize</p>