title: How to get the ID of an inserted or updated record in Sequelize upsert?
body: <p>i need to get the id for the inserted/updated record when using <code>.upsert()</code> in sequelize.</p>
  
  <p>right now <code>.upsert()</code> returns a boolean indicating whether the row was created or updated.</p>
  
  <pre><code>return db.VenueAddress.upsert({
              addressId:address.addressId,
              venueId: venue.venueId,
              street: address.street,
              zipCode: address.zipCode,
              venueAddressDeletedAt: null
          }).then(function(test){
              //test returned here as true or false how can i get the inserted id here so i can insert data in other tables using this new id?
          });
  </code></pre>