---
id: lte
title: ".lte()"
slug: lte
custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/dart.yml
---

import Tabs from '@theme/Tabs';
import TabsPanel from '@theme/TabsPanel';

Finds all rows whose value on the stated `column` is less than or equal to the specified `value`.


<Tabs
  defaultActiveId="dart"
  groupId="reference/dart"
  values={[{ label: 'Dart', value: 'dart' }]}>

<TabsPanel id="dart" label="dart">

```dart
final res = await supabase
  .from('cities')
  .select('name, country_id')
  .lte('country_id', 250)
  .execute();
```


</TabsPanel>

</Tabs>

## Parameters


<ul className="method-list-group">
  
<li className="method-list-item">
  <h4 className="method-list-item-label">
    <span className="method-list-item-label-name">
      column
    </span>
    <span className="method-list-item-label-badge required">
      required
    </span>
    <span className="method-list-item-validation">
      <code>object</code>
    </span>
  </h4>
  <div class="method-list-item-description">

The column to filter on.

  </div>
  
</li>


<li className="method-list-item">
  <h4 className="method-list-item-label">
    <span className="method-list-item-label-name">
      value
    </span>
    <span className="method-list-item-label-badge required">
      required
    </span>
    <span className="method-list-item-validation">
      <code>object</code>
    </span>
  </h4>
  <div class="method-list-item-description">

The value to filter with.

  </div>
  
</li>

</ul>














## Examples

### With `select()`



<Tabs
  defaultActiveId="dart"
  groupId="reference/dart"
  values={[{ label: 'Dart', value: 'dart' }]}>

<TabsPanel id="dart" label="dart">

```dart
final res = await supabase
  .from('cities')
  .select('name, country_id')
  .lte('country_id', 250)
  .execute();
```


</TabsPanel>

</Tabs>

### With `update()`



<Tabs
  defaultActiveId="dart"
  groupId="reference/dart"
  values={[{ label: 'Dart', value: 'dart' }]}>

<TabsPanel id="dart" label="dart">

```dart
final res = await supabase
  .from('cities')
  .update({ 'name': 'Mordor' })
  .lte('country_id', 250)
  .execute();
```


</TabsPanel>

</Tabs>

### With `delete()`



<Tabs
  defaultActiveId="dart"
  groupId="reference/dart"
  values={[{ label: 'Dart', value: 'dart' }]}>

<TabsPanel id="dart" label="dart">

```dart
final res = await supabase
  .from('cities')
  .delete()
  .lte('country_id', 250)
  .execute();
```


</TabsPanel>

</Tabs>

### With `rpc()`



<Tabs
  defaultActiveId="dart"
  groupId="reference/dart"
  values={[{ label: 'Dart', value: 'dart' }]}>

<TabsPanel id="dart" label="dart">

```dart
// Only valid if the Stored Procedure returns a table type.
final res = await supabase
  .rpc('echo_all_cities')
  .lte('country_id', 250)
  .execute();
```


</TabsPanel>

</Tabs>