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

# gpudb::InsertRecordsResponse

> gpudb::InsertRecordsResponse — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of results returned by <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ab6ab327611452cc777c159d202146997">GPUdb::insertRecords</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/insert__records_8h_source">gpudb/protocol/insert\_records.h</a>></code></p>

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

      <tr className="memitem:ae72f3044262a3fa45e787668cdd02261" id="r_ae72f3044262a3fa45e787668cdd02261">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ae72f3044262a3fa45e787668cdd02261">InsertRecordsResponse</a> ()</td>
      </tr>

      <tr className="memdesc:ae72f3044262a3fa45e787668cdd02261">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1InsertRecordsResponse" title="A set of results returned by GPUdb::insertRecords.">InsertRecordsResponse</a> object with default parameters. <br /></td>
      </tr>

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

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

      <tr className="memitem:a25b962d942e00fc21689d9c2775a088e" id="r_a25b962d942e00fc21689d9c2775a088e">
        <td className="memItemLeft" align="right" valign="top">std::vector\< std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a25b962d942e00fc21689d9c2775a088e">recordIds</a></td>
      </tr>

      <tr className="memdesc:a25b962d942e00fc21689d9c2775a088e">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">An array containing the IDs with which the added records are identified internally. <br /></td>
      </tr>

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

      <tr className="memitem:a823ce556ac38e1f8c41bf15aaadb5d6a" id="r_a823ce556ac38e1f8c41bf15aaadb5d6a">
        <td className="memItemLeft" align="right" valign="top">int32\_t </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a823ce556ac38e1f8c41bf15aaadb5d6a">countInserted</a></td>
      </tr>

      <tr className="memdesc:a823ce556ac38e1f8c41bf15aaadb5d6a">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">The number of records inserted. <br /></td>
      </tr>

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

      <tr className="memitem:aebadd92d31c42e7e30039de62993cddd" id="r_aebadd92d31c42e7e30039de62993cddd">
        <td className="memItemLeft" align="right" valign="top">int32\_t </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aebadd92d31c42e7e30039de62993cddd">countUpdated</a></td>
      </tr>

      <tr className="memdesc:aebadd92d31c42e7e30039de62993cddd">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">The number of records updated. <br /></td>
      </tr>

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

      <tr className="memitem:a17c96e186b6b1656723276353184b8d8" id="r_a17c96e186b6b1656723276353184b8d8">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a17c96e186b6b1656723276353184b8d8">info</a></td>
      </tr>

      <tr className="memdesc:a17c96e186b6b1656723276353184b8d8">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Additional information. <br /></td>
      </tr>

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

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

    <div className="textblock">
      <p>A set of results returned by <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ab6ab327611452cc777c159d202146997">GPUdb::insertRecords</a>. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/insert__records_8h_source#l01488">1488</a> of file <a className="el" href="/content/api/cpp/insert__records_8h_source">insert\_records.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#ae72f3044262a3fa45e787668cdd02261">◆ </a></span>InsertRecordsResponse()</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::InsertRecordsResponse::InsertRecordsResponse </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </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>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1InsertRecordsResponse" title="A set of results returned by GPUdb::insertRecords.">InsertRecordsResponse</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/insert__records_8h_source#l01493">1493</a> of file <a className="el" href="/content/api/cpp/insert__records_8h_source">insert\_records.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a823ce556ac38e1f8c41bf15aaadb5d6a">◆ </a></span>countInserted</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">int32\_t gpudb::InsertRecordsResponse::countInserted</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>The number of records inserted. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/insert__records_8h_source#l01510">1510</a> of file <a className="el" href="/content/api/cpp/insert__records_8h_source">insert\_records.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#aebadd92d31c42e7e30039de62993cddd">◆ </a></span>countUpdated</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">int32\_t gpudb::InsertRecordsResponse::countUpdated</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>The number of records updated. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/insert__records_8h_source#l01515">1515</a> of file <a className="el" href="/content/api/cpp/insert__records_8h_source">insert\_records.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a17c96e186b6b1656723276353184b8d8">◆ </a></span>info</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::InsertRecordsResponse::info</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Additional information. </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a12a14748ae52544e6314c7d1c7cbd1b7">insert\_records\_bad\_record\_indices</a>: If return\_individual\_errors option is specified or implied, returns a comma-separated list of invalid indices (0-based). </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a36030c689b13d6851e01a0037dccaa84">insert\_records\_error\_N</a>: Error message for record at index N (0-based). </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/insert__records_8h_source#l01528">1528</a> of file <a className="el" href="/content/api/cpp/insert__records_8h_source">insert\_records.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a25b962d942e00fc21689d9c2775a088e">◆ </a></span>recordIds</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::vector\<std::string> gpudb::InsertRecordsResponse::recordIds</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>An array containing the IDs with which the added records are identified internally. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/insert__records_8h_source#l01505">1505</a> of file <a className="el" href="/content/api/cpp/insert__records_8h_source">insert\_records.h</a>.</p>
      </div>
    </div>

    <hr />

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

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/insert__records_8h_source">insert\_records.h</a></li>
    </ul>
  </div>
</div>
