title: Node Postgres insert multiple rows based on array and static variable
body: <p>I am trying to insert multiple rows into a PostgresSQL server from my Nodejs server based on an array. I have a static variable, user_id, which would be the same for all entries but I want to change the filter_name based off an array. My goal is to not make multiple SQL insert calls. </p>
  
  <pre><code>arrayOfFilters = ["CM", "CBO", "SA", "EPS", "AD"]
  
  await db.query(
              "INSERT INTO filters(filter_name, requests_id)VALUES($1, $2)",
              [arrayOfFiltersParams, user_id]);
  </code></pre>
  
  <p>I am hoping to have a row in the filters table for each one of the filters found in the arrayOfFilters with a matching user_id key for each entry (aka 5 rows for this example). 
  Thanks so much!</p>