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

# getRecordsRaw

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

  <h2 className="memtitle"><span className="permalink"><a href="#afefae2f48831c864d2f19e27fbb2ad65">◆ </a></span>getRecordsRaw() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1RawGetRecordsResponse">RawGetRecordsResponse</a> gpudb::GPUdb::getRecordsRaw </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsRequest">GetRecordsRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Retrieves records from a given table, optionally filtered by an expression and/or sorted by a column. </p>
      <p>This operation can be performed on tables and views. Records can be returned encoded as binary, json, or geojson.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsRequest#a6f8fde526abfe2adc4845bd4582f96a5">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsRequest#a88646356abf331176d438e0e435cae79">limit</a> parameters. Note that when paging through a table, if the table (or the underlying table in case of a view) is updated (records are inserted, deleted or modified) the records retrieved may differ between calls based on the updates applied.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsRequest">Request</a> 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"><a className="el" href="/content/api/cpp/structgpudb_1_1RawGetRecordsResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a4d416d301bad8f60f2376499284a7d4e" />

  <h2 className="memtitle"><span className="permalink"><a href="#a4d416d301bad8f60f2376499284a7d4e">◆ </a></span>getRecordsRaw() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1RawGetRecordsResponse">RawGetRecordsResponse</a> & gpudb::GPUdb::getRecordsRaw </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsRequest">GetRecordsRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1RawGetRecordsResponse">RawGetRecordsResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Retrieves records from a given table, optionally filtered by an expression and/or sorted by a column. </p>
      <p>This operation can be performed on tables and views. Records can be returned encoded as binary, json, or geojson.</p>
      <p>This operation supports paging through the data via the <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsRequest#a6f8fde526abfe2adc4845bd4582f96a5">offset</a> and <a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsRequest#a88646356abf331176d438e0e435cae79">limit</a> parameters. Note that when paging through a table, if the table (or the underlying table in case of a view) is updated (records are inserted, deleted or modified) the records retrieved may differ between calls based on the updates applied.</p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1GetRecordsRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1RawGetRecordsResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1RawGetRecordsResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
