> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eloquentfiltering.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Less Than Equal To

export const type_0 = "$lte"

## Definition

```php theme={null}
Filter::field('age', [FilterType::LESS_THAN_EQUAL_TO])
```

## Array/Object Structure

<ParamField body="type" type="string" required>
  <code>
    {type_0}
  </code>
</ParamField>

<ParamField body="target" type="string" required />

<ParamField body="value" type="string|int|float" required />

## Example

```php theme={null}
$filter = [
    'type'   => '$lte',
    'target' => 'age',
    'value'  => 18,
];
```

```php theme={null}
$sql = Person::filter([$filter])->toRawSql();
```

### SQL

```sql theme={null}
select * from "people" where "people"."age" <= 18
```

## Modifiers

None available.
