n_records</span>(<span class='no'>app</span>, <span class='kw'>max_records</span> <span class='kw'>=</span> <span class='fl'>5000</span>, <span class='kw'>records_per_request</span> <span class='kw'>=</span> <span class='fl'>500L</span>)

<span class='co'># get records as list</span>
<span class='no'>d</span> <span class='kw'>&lt;-</span> <span class='fu'>kntn_records</span>(<span class='no'>app</span>, <span class='kw'>as</span> <span class='kw'>=</span> <span class='st'>"list"</span>)

<span class='co'># 