* Add a `<=` condition * @param key - Property name * @param val - Property value
(key: K, val: MT[K])
| 397 | * @param val - Property value |
| 398 | */ |
| 399 | lte<K extends KeyOf<MT>>(key: K, val: MT[K]): this { |
| 400 | const w: Where<MT> = {}; |
| 401 | w[key] = {lte: val}; |
| 402 | return this.add(w); |
| 403 | } |
| 404 | |
| 405 | /** |
| 406 | * Add a `inq` condition |
no test coverage detected