> ## Documentation Index
> Fetch the complete documentation index at: https://helix-digitalocean.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# E631

# Incomplete Range

## Erroneous Code Example

This error occurs when you define a range without both start and end values.

In this example, the range is incomplete because it is missing the end value.

<CodeGroup>
  ```rust queries.hx theme={null}
  Query getUser() =>
      subset_of_users <- N<User>::RANGE(0)
      RETURN subset_of_users
  ```
</CodeGroup>

## Solution

Provide both start and end values for ranges.

<CodeGroup>
  ```rust queries.hx theme={null}
  Query getUser() =>
      subset_of_users <- N<User>::RANGE(0, 100)
      RETURN subset_of_users
  ```
</CodeGroup>
