title: Why spread() method doesn't work in Sequelize?
body: <p>I'm using a <code>Sequelize</code> for my <code>node.js</code> app. I use <code>findOrCreate()</code> method to create a new user if not exist. Accordingly to <a href="http://docs.sequelizejs.com/manual/tutorial/models-usage.html" rel="noreferrer">docs</a>  <code>findOrCreate</code> returns an array containing the object that was found or created and a boolean that will be true if a new object was created and false if not.</p>
  
  <p>The sequelize recommend to use <code>spread()</code> method which divides the array into its 2 parts and passes them as arguments to the callback function. First part is a user object and second is boolean if new row was added.</p>
  
  <p>I work in <code>async/await</code> style. My code is:</p>
  
  <pre><code>app.post('/signup', async (req, res) =&gt; {
          try {
              let insertedUser = await User.findOrCreate({
                  where: { email: req.body.userEmail },
                  defaults: {
                      pass: req.body.userPass
                  }
              })
              insertedUser.spread((user, created) =&gt; {
                  if(created) {
                      res.json(user.email)
                  }
              })
          } catch (err) {
              console.log(`ERROR! =&gt; ${err.name}: ${err.message}`)
              res.status(500).send(err.message)
          }
      }
  })
  </code></pre>
  
  <p>After post request I get an error:</p>
  
  <pre><code>ERROR! =&gt; TypeError: insertedUser.spread is not a function
  </code></pre>
  
  <p>Why is that, the doc says it must be a function?</p>