> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# insertRecordsRaw

<div className="kinetica-doxygen">
  <div id="a292bd8df0c03cdf634e72208973515b3" />

  <h2 className="memtitle"><span className="permalink"><a href="#a292bd8df0c03cdf634e72208973515b3">◆ </a></span>insertRecordsRaw()</h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1InsertRecordsResponse">InsertRecordsResponse</a> kinetica.Kinetica.insertRecordsRaw </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest">RawInsertRecordsRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
                <td>)</td>

                <td />
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Adds multiple records to the specified table. </p>
      <p>The operation is synchronous, meaning that a response will not be returned until all the records are fully inserted and available. The response payload provides the counts of the number of records actually inserted and/or updated, and can provide the unique identifier of each added record.</p>
      <p>The <a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest#a204750d4d506e9163674edf48d26a75b">options</a> parameter can be used to customize this function's behavior.</p>
      <p>The <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1Options#a692acfdd600a06c6d56134fd133c313c">UPDATE\_ON\_EXISTING\_PK</a> option specifies the record collision policy for inserting into a table with a <a href="/content/concepts/tables/#primary-keys" target="_top">primary key</a>, but is ignored if no primary key exists.</p>
      <p>The <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1Options#a6ebd725f81cdf550a312abbd36f34cf5">RETURN\_RECORD\_IDS</a> option indicates that the database should return the unique identifiers of inserted records.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L44174">44174</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="ab65300a51fd249c2e8b63de9d5f2bff6" />

  <h2 className="memtitle"><span className="permalink"><a href="#ab65300a51fd249c2e8b63de9d5f2bff6">◆ </a></span>InsertRecordsRawAsync()</h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1InsertRecordsResponse">InsertRecordsResponse</a> > kinetica.Kinetica.InsertRecordsRawAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest">RawInsertRecordsRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Adds multiple records to the specified table. </p>
      <p>(async)</p>
      <p>The operation is synchronous, meaning that a response will not be returned until all the records are fully inserted and available. The response payload provides the counts of the number of records actually inserted and/or updated, and can provide the unique identifier of each added record.</p>
      <p>The <a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest#a204750d4d506e9163674edf48d26a75b">options</a> parameter can be used to customize this function's behavior.</p>
      <p>The <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1Options#a692acfdd600a06c6d56134fd133c313c">UPDATE\_ON\_EXISTING\_PK</a> option specifies the record collision policy for inserting into a table with a <a href="/content/concepts/tables/#primary-keys" target="_top">primary key</a>, but is ignored if no primary key exists.</p>
      <p>The <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1Options#a6ebd725f81cdf550a312abbd36f34cf5">RETURN\_RECORD\_IDS</a> option indicates that the database should return the unique identifiers of inserted records.</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L44207">44207</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
