> directly as it relies on REST request definitions that return result data in the form of an array.</p>
<p>If your server API or your adapter only provides array responses but you wish to retrieve just a single record, you can alternatively use the <code>query()</code> method as follows:</p>
<pre class="language-javascript line-numbers"><code class="javascript language-javascript"><span class="token comment">// GET to /users?filter[email]=tomster@example.com</span>
tom <span class="token operator">=</span>