@loopback/docs
Version:
Documentation for LoopBack 4
35 lines (22 loc) • 775 B
Markdown
lang: en
title: 'API docs: repository.wherebuilder.lt'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.wherebuilder.lt.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/repository](./repository.md) > [WhereBuilder](./repository.wherebuilder.md) > [lt](./repository.wherebuilder.lt.md)
## WhereBuilder.lt() method
Add a `<` condition
<b>Signature:</b>
```typescript
lt<K extends KeyOf<MT>>(key: K, val: MT[K]): this;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| key | <code>K</code> | Property name |
| val | <code>MT[K]</code> | Property value |
<b>Returns:</b>
`this`