title: Bulk Insert Connector getting index of current index
body: <p>I am trying to do a bulk insert where I have to reference a variable in the payload.</p>
  
  <pre><code>    &lt;db:sql &gt;#['INSERT INTO public."PERSON_TBL" (FIRST_NAME,LAST_NAME, ADDRESSES) 
              VALUES 
              (:firstnameParam,
               :lastnameParam,
               ' ++ "'$(someVariable)'" ++ ')']
     &lt;/db:sql&gt;
  </code></pre>
  
  <p>In the example above, "ADDRESSES" is a DB column of type 'text[]'. Because of this I have to pass my array as a string something that looks like '{"Address1", "Address2"}'. The problem comes when this is a bulk insert and "someVariable" is just one of many within the payload. The question is: How do I set the exact "someVariable" for the current step. How can I get a reference to that? Is it something like</p>
  
  <pre><code>$(payload[currentIndex].someVariable)
  </code></pre>
  
  <p>Please help with this.</p>