title: How to update many fields on a table without using queryBuilder?
body: <p>I want to update many fields of the table &quot;Returns&quot;, this method will receive an array of integers representing the ids of Return registers and the value to update this registers</p>
  <p>Ej: ( [1,2,3,4], &quot;new Value&quot; )</p>
  <p>Normally i use this kind of queries</p>
  <pre><code>await this.returnRepository.update(id, { shipment_id:'SomeValue' })
  </code></pre>
  <p>The problem is that in this particular case i need to update MANY ids and if i give an array of Ids using that syntax doesnt work</p>
  <p>For resolve this issue I am using querybuilder with this code</p>
  <pre><code>await this.returnRepository.createQueryBuilder()
                  .update(ReturnEntity).set({ shipment_id: shipmentId })
                  .where(&quot;return_id IN(:...id)&quot;, { id: returnIds })
                  .execute()
  </code></pre>
  <p><strong>Questions:</strong></p>
  <p>1.- I know the 2nd form of query have the name QUERY BUILDER, what is the name of the first one? I tried to search 'typeorm query' but doesnt give me much information about it.</p>
  <p>2.-It is possible transform this query builder into the first opion? How would it be?</p>
  <p>Thank you!</p>