title: Mysql, Sequelize How to delete multiple rows at once given an array of ids
body: <p>I'm having a hard time figuring out how to delete multiple rows in a MYSQL database using Sequelize.</p>
  <p>I have a delete mutation that receives an array of ids as an argument and I would like to delete rows in the database matching these ids.</p>
  <p>Only the first row is deleted</p>
  <p><strong>SCHEMA</strong></p>
  <pre><code>deletePropertyItems(id: [Int]!): DeletePropertyItemsRes!
  </code></pre>
  <p><strong>MUTATION</strong></p>
  <pre><code>async deletePropertyItems(_, { id }, { models }) {
        try {
          const deletedRows = await models.PropertyItem.destroy({
            where: { id: id },
          });
  
          if (deletedRows) {
            return {
              success: true,
              message: &quot;Property Item(s) Deleted Successfully!&quot;,
            };
          }
          return {
            success: false,
            message: &quot;Operation not successful!&quot;,
          };
        } catch (error) {
          throw new Error(error.message);
        }
      },
  </code></pre>