> ## 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.

# kinetica.RawInsertRecordsRequest.Options

> kinetica.RawInsertRecordsRequest.Options — Kinetica C# API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of string constants for the parameter <a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest#aadd2ae1bbb3ddcf3bf4134fc9b45f7de" title="Optional parameters.">RawInsertRecordsRequest.options</a>. <a href="#details">More...</a></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Static Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a1acaae9a0e20569dddb6a59fa5d9bab1" id="r_a1acaae9a0e20569dddb6a59fa5d9bab1">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a1acaae9a0e20569dddb6a59fa5d9bab1">UPDATE\_ON\_EXISTING\_PK</a> = "update\_on\_existing\_pk"</td>
      </tr>

      <tr className="memdesc:a1acaae9a0e20569dddb6a59fa5d9bab1">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Specifies the record collision policy for inserting into a table with a <a href="/content/concepts/tables/#primary-keys" target="_top">primary key</a>. <br /></td>
      </tr>

      <tr className="separator:a1acaae9a0e20569dddb6a59fa5d9bab1">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:aa50c70ada3b8cd74733a07cc238a5c89" id="r_aa50c70ada3b8cd74733a07cc238a5c89">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a> = "true"</td>
      </tr>

      <tr className="memdesc:aa50c70ada3b8cd74733a07cc238a5c89">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A boolean constant for the <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1Options" title="A set of string constants for the parameter RawInsertRecordsRequest.options.">RawInsertRecordsRequest.Options</a> options. <br /></td>
      </tr>

      <tr className="separator:aa50c70ada3b8cd74733a07cc238a5c89">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a49231ad8735ee3702149090bf67b9afa" id="r_a49231ad8735ee3702149090bf67b9afa">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a> = "false"</td>
      </tr>

      <tr className="memdesc:a49231ad8735ee3702149090bf67b9afa">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A boolean constant for the <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1Options" title="A set of string constants for the parameter RawInsertRecordsRequest.options.">RawInsertRecordsRequest.Options</a> options. <br /></td>
      </tr>

      <tr className="separator:a49231ad8735ee3702149090bf67b9afa">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a18a2416bdddff76f920cf759faaa4779" id="r_a18a2416bdddff76f920cf759faaa4779">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a18a2416bdddff76f920cf759faaa4779">ENABLE\_INPLACE\_UPDATES</a> = "enable\_inplace\_updates"</td>
      </tr>

      <tr className="memdesc:a18a2416bdddff76f920cf759faaa4779">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Applies only when upserting (when <a className="el" href="#a1acaae9a0e20569dddb6a59fa5d9bab1">UPDATE\_ON\_EXISTING\_PK</a> is <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>). <br /></td>
      </tr>

      <tr className="separator:a18a2416bdddff76f920cf759faaa4779">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a183d4e7b5b5a9aa4a113348688580634" id="r_a183d4e7b5b5a9aa4a113348688580634">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a183d4e7b5b5a9aa4a113348688580634">IGNORE\_EXISTING\_PK</a> = "ignore\_existing\_pk"</td>
      </tr>

      <tr className="memdesc:a183d4e7b5b5a9aa4a113348688580634">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Specifies the record collision error-suppression policy for inserting into a table with a <a href="/content/concepts/tables/#primary-keys" target="_top">primary key</a>, only used when not in upsert mode (upsert mode is disabled when <a className="el" href="#a1acaae9a0e20569dddb6a59fa5d9bab1">UPDATE\_ON\_EXISTING\_PK</a> is <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>). <br /></td>
      </tr>

      <tr className="separator:a183d4e7b5b5a9aa4a113348688580634">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a791a52126ae299a483c78362aafbb25c" id="r_a791a52126ae299a483c78362aafbb25c">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a791a52126ae299a483c78362aafbb25c">PK\_CONFLICT\_PREDICATE\_HIGHER</a> = "pk\_conflict\_predicate\_higher"</td>
      </tr>

      <tr className="memdesc:a791a52126ae299a483c78362aafbb25c">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">The record with higher value for the column resolves the primary-key insert conflict. <br /></td>
      </tr>

      <tr className="separator:a791a52126ae299a483c78362aafbb25c">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a40cb290cbd8eb4ec396a0d175815dad2" id="r_a40cb290cbd8eb4ec396a0d175815dad2">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a40cb290cbd8eb4ec396a0d175815dad2">PK\_CONFLICT\_PREDICATE\_LOWER</a> = "pk\_conflict\_predicate\_lower"</td>
      </tr>

      <tr className="memdesc:a40cb290cbd8eb4ec396a0d175815dad2">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">The record with lower value for the column resolves the primary-key insert conflict. <br /></td>
      </tr>

      <tr className="separator:a40cb290cbd8eb4ec396a0d175815dad2">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a3b286b29cb269f278db98bd616e713fc" id="r_a3b286b29cb269f278db98bd616e713fc">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a3b286b29cb269f278db98bd616e713fc">RETURN\_RECORD\_IDS</a> = "return\_record\_ids"</td>
      </tr>

      <tr className="memdesc:a3b286b29cb269f278db98bd616e713fc">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a> then return the internal record id along for each inserted record. <br /></td>
      </tr>

      <tr className="separator:a3b286b29cb269f278db98bd616e713fc">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ae61a64f0dc4b186f35bf194047acaeea" id="r_ae61a64f0dc4b186f35bf194047acaeea">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ae61a64f0dc4b186f35bf194047acaeea">TRUNCATE\_STRINGS</a> = "truncate\_strings"</td>
      </tr>

      <tr className="memdesc:ae61a64f0dc4b186f35bf194047acaeea">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, any strings which are too long for their target charN string columns will be truncated to fit. <br /></td>
      </tr>

      <tr className="separator:ae61a64f0dc4b186f35bf194047acaeea">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a7a604dfb054414cf1c17e75b4b5d4a93" id="r_a7a604dfb054414cf1c17e75b4b5d4a93">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a7a604dfb054414cf1c17e75b4b5d4a93">RETURN\_INDIVIDUAL\_ERRORS</a> = "return\_individual\_errors"</td>
      </tr>

      <tr className="memdesc:a7a604dfb054414cf1c17e75b4b5d4a93">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, success will always be returned, and any errors found will be included in the info map. <br /></td>
      </tr>

      <tr className="separator:a7a604dfb054414cf1c17e75b4b5d4a93">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a05abd7266b16fe0147be933e5d6e720d" id="r_a05abd7266b16fe0147be933e5d6e720d">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a05abd7266b16fe0147be933e5d6e720d">ALLOW\_PARTIAL\_BATCH</a> = "allow\_partial\_batch"</td>
      </tr>

      <tr className="memdesc:a05abd7266b16fe0147be933e5d6e720d">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, all correct records will be inserted and incorrect records will be rejected and reported. <br /></td>
      </tr>

      <tr className="separator:a05abd7266b16fe0147be933e5d6e720d">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ac3470b168010ff4bfdeb575d11fb31fc" id="r_ac3470b168010ff4bfdeb575d11fb31fc">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ac3470b168010ff4bfdeb575d11fb31fc">DRY\_RUN</a> = "dry\_run"</td>
      </tr>

      <tr className="memdesc:ac3470b168010ff4bfdeb575d11fb31fc">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, no data will be saved and any errors will be returned. <br /></td>
      </tr>

      <tr className="separator:ac3470b168010ff4bfdeb575d11fb31fc">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a9fe87da4af473fe8e4becac4a985cde9" id="r_a9fe87da4af473fe8e4becac4a985cde9">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a9fe87da4af473fe8e4becac4a985cde9">REQUEST\_SCHEMA\_STR</a> = "request\_schema\_str"</td>
      </tr>

      <tr className="memdesc:a9fe87da4af473fe8e4becac4a985cde9">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Type schema of <a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest#a613f1d657c7a4df4515a86f1aa2f2673" title="An array of binary-encoded data for the records to be added.">RawInsertRecordsRequest.list</a> (when <a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest#ac51973e70277eccaf08a1fd211afcfd2" title="The encoding of the records to be inserted.">RawInsertRecordsRequest.list\_encoding</a> is <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1ListEncoding#a674382c79c55f6159c64e9dc28af9141">BINARY</a>), in \[\["{"{"}column\_name{"}"}","{"{"}column\_type{"}"}"]] format. <br /></td>
      </tr>

      <tr className="separator:a9fe87da4af473fe8e4becac4a985cde9">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ad4bc9c6f1a685707ef6be2a9b99fea60" id="r_ad4bc9c6f1a685707ef6be2a9b99fea60">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ad4bc9c6f1a685707ef6be2a9b99fea60">TRANSFORMATIONS</a> = "transformations"</td>
      </tr>

      <tr className="memdesc:ad4bc9c6f1a685707ef6be2a9b99fea60">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Comma-separated expressions, one per target table column. <br /></td>
      </tr>

      <tr className="separator:ad4bc9c6f1a685707ef6be2a9b99fea60">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of string constants for the parameter <a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest#aadd2ae1bbb3ddcf3bf4134fc9b45f7de" title="Optional parameters.">RawInsertRecordsRequest.options</a>. </p>
      <p>Optional parameters.</p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00066">66</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a05abd7266b16fe0147be933e5d6e720d">◆ </a></span>ALLOW\_PARTIAL\_BATCH</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.ALLOW\_PARTIAL\_BATCH = "allow\_partial\_batch"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, all correct records will be inserted and incorrect records will be rejected and reported. </p>
        <p>Otherwise, the entire batch will be rejected if any records are incorrect. Supported values:</p>

        <ul>
          <li> <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a> </li>
          <li> <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00295">295</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ac3470b168010ff4bfdeb575d11fb31fc">◆ </a></span>DRY\_RUN</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.DRY\_RUN = "dry\_run"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, no data will be saved and any errors will be returned. </p>
        <p>Supported values:</p>

        <ul>
          <li> <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a> </li>
          <li> <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00316">316</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a18a2416bdddff76f920cf759faaa4779">◆ </a></span>ENABLE\_INPLACE\_UPDATES</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.ENABLE\_INPLACE\_UPDATES = "enable\_inplace\_updates"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Applies only when upserting (when <a className="el" href="#a1acaae9a0e20569dddb6a59fa5d9bab1">UPDATE\_ON\_EXISTING\_PK</a> is <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>). </p>
        <p>If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, an existing record matched by primary key is modified in place. If set to <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>, it is updated by deleting the existing record and inserting a replacement (delete and insert), which prevents the change from being reflected in dependent materialized views until they are refreshed. Supported values:</p>

        <ul>
          <li> <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a> </li>
          <li> <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00144">144</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a49231ad8735ee3702149090bf67b9afa">◆ </a></span>FALSE</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.FALSE = "false"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>A boolean constant for the <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1Options" title="A set of string constants for the parameter RawInsertRecordsRequest.options.">RawInsertRecordsRequest.Options</a> options. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00115">115</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a183d4e7b5b5a9aa4a113348688580634">◆ </a></span>IGNORE\_EXISTING\_PK</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.IGNORE\_EXISTING\_PK = "ignore\_existing\_pk"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Specifies the record collision error-suppression policy for inserting into a table with a <a href="/content/concepts/tables/#primary-keys" target="_top">primary key</a>, only used when not in upsert mode (upsert mode is disabled when <a className="el" href="#a1acaae9a0e20569dddb6a59fa5d9bab1">UPDATE\_ON\_EXISTING\_PK</a> is <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>). </p>
        <p>If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, any record being inserted that is rejected for having primary key values that match those of an existing table record will be ignored with no error generated. If <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>, the rejection of any record for having primary key values matching an existing record will result in an error being reported, as determined by <a className="el" href="#a05abd7266b16fe0147be933e5d6e720d">ALLOW\_PARTIAL\_BATCH</a> and <a className="el" href="#a7a604dfb054414cf1c17e75b4b5d4a93">RETURN\_INDIVIDUAL\_ERRORS</a>. If the specified table does not have a primary key or if upsert mode is in effect (<a className="el" href="#a1acaae9a0e20569dddb6a59fa5d9bab1">UPDATE\_ON\_EXISTING\_PK</a> is <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>), then this option has no effect. Supported values:</p>

        <ul>
          <li> <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>: Ignore new records whose primary key values collide with those of existing records. </li>
          <li> <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>: Treat as errors any new records whose primary key values collide with those of existing records. </li>
        </ul>

        <p>The default value is <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00192">192</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a791a52126ae299a483c78362aafbb25c">◆ </a></span>PK\_CONFLICT\_PREDICATE\_HIGHER</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.PK\_CONFLICT\_PREDICATE\_HIGHER = "pk\_conflict\_predicate\_higher"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>The record with higher value for the column resolves the primary-key insert conflict. </p>
        <p>The default value is ''.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00197">197</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a40cb290cbd8eb4ec396a0d175815dad2">◆ </a></span>PK\_CONFLICT\_PREDICATE\_LOWER</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.PK\_CONFLICT\_PREDICATE\_LOWER = "pk\_conflict\_predicate\_lower"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>The record with lower value for the column resolves the primary-key insert conflict. </p>
        <p>The default value is ''.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00202">202</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a9fe87da4af473fe8e4becac4a985cde9">◆ </a></span>REQUEST\_SCHEMA\_STR</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.REQUEST\_SCHEMA\_STR = "request\_schema\_str"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Type schema of <a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest#a613f1d657c7a4df4515a86f1aa2f2673" title="An array of binary-encoded data for the records to be added.">RawInsertRecordsRequest.list</a> (when <a className="el" href="/content/api/cs/classkinetica_1_1RawInsertRecordsRequest#ac51973e70277eccaf08a1fd211afcfd2" title="The encoding of the records to be inserted.">RawInsertRecordsRequest.list\_encoding</a> is <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1ListEncoding#a674382c79c55f6159c64e9dc28af9141">BINARY</a>), in \[\["{"{"}column\_name{"}"}","{"{"}column\_type{"}"}"]] format. </p>
        <p>When non-empty and different from the table's schema, the server remaps the incoming records to the table's full schema. Columns present in the table but absent from this schema are filled using their default values, NULL (if nullable), or an error is returned. If empty, records must match the table's full schema. The default value is ''.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00329">329</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a7a604dfb054414cf1c17e75b4b5d4a93">◆ </a></span>RETURN\_INDIVIDUAL\_ERRORS</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.RETURN\_INDIVIDUAL\_ERRORS = "return\_individual\_errors"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, success will always be returned, and any errors found will be included in the info map. </p>
        <p>The "bad\_record\_indices" entry is a comma-separated list of bad records (0-based). If so, there will also be an "error\_N" entry for each record with an error, where N is the index (0-based). Supported values:</p>

        <ul>
          <li> <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a> </li>
          <li> <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00271">271</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a3b286b29cb269f278db98bd616e713fc">◆ </a></span>RETURN\_RECORD\_IDS</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.RETURN\_RECORD\_IDS = "return\_record\_ids"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>If <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a> then return the internal record id along for each inserted record. </p>
        <p>Supported values:</p>

        <ul>
          <li> <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a> </li>
          <li> <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00223">223</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ad4bc9c6f1a685707ef6be2a9b99fea60">◆ </a></span>TRANSFORMATIONS</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.TRANSFORMATIONS = "transformations"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Comma-separated expressions, one per target table column. </p>
        <p>Each expression is evaluated per record. Empty entries (two consecutive commas) mean no transformation for that column – the value is resolved from the input record, table default, NULL, or an error. Expressions may reference input columns by name or by position ($1 for the first input column, $2 for the second, etc.). The default value is ''.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00339">339</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#aa50c70ada3b8cd74733a07cc238a5c89">◆ </a></span>TRUE</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.TRUE = "true"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>A boolean constant for the <a className="el" href="/content/api/cs/structkinetica_1_1RawInsertRecordsRequest_1_1Options" title="A set of string constants for the parameter RawInsertRecordsRequest.options.">RawInsertRecordsRequest.Options</a> options. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00111">111</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ae61a64f0dc4b186f35bf194047acaeea">◆ </a></span>TRUNCATE\_STRINGS</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.TRUNCATE\_STRINGS = "truncate\_strings"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, any strings which are too long for their target charN string columns will be truncated to fit. </p>
        <p>Supported values:</p>

        <ul>
          <li> <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a> </li>
          <li> <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a> </li>
        </ul>

        <p>The default value is <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00245">245</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a1acaae9a0e20569dddb6a59fa5d9bab1">◆ </a></span>UPDATE\_ON\_EXISTING\_PK</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.RawInsertRecordsRequest.Options.UPDATE\_ON\_EXISTING\_PK = "update\_on\_existing\_pk"</td>
                </tr>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Specifies the record collision policy for inserting into a table with a <a href="/content/concepts/tables/#primary-keys" target="_top">primary key</a>. </p>
        <p>If set to <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>, any existing table record with primary key values that match those of a record being inserted will be replaced by that new record (the new data will be "upserted"). If set to <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>, any existing table record with primary key values that match those of a record being inserted will remain unchanged, while the new record will be rejected and the error handled as determined by <a className="el" href="#a183d4e7b5b5a9aa4a113348688580634">IGNORE\_EXISTING\_PK</a>, <a className="el" href="#a05abd7266b16fe0147be933e5d6e720d">ALLOW\_PARTIAL\_BATCH</a>, and <a className="el" href="#a7a604dfb054414cf1c17e75b4b5d4a93">RETURN\_INDIVIDUAL\_ERRORS</a>. If the specified table does not have a primary key, then this option has no effect. Supported values:</p>

        <ul>
          <li> <a className="el" href="#aa50c70ada3b8cd74733a07cc238a5c89">TRUE</a>: Upsert new records when primary keys match existing records. </li>
          <li> <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>: Reject new records when primary keys match existing records. </li>
        </ul>

        <p>The default value is <a className="el" href="#a49231ad8735ee3702149090bf67b9afa">FALSE</a>.</p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source#l00107">107</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following files:

    <ul>
      <li>\_build/public-os\_ubuntu24.04-arch\_amd64-cc\_gcc\_13.3.0/install/Kinetica/Protocol/<a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a></li>
      <li>Kinetica/Protocol/<a className="el" href="/content/api/cs/Kinetica_2Protocol_2InsertRecords_8cs_source">InsertRecords.cs</a></li>
    </ul>
  </div>
</div>
