(
this: Query<source, columnTypes, row, loaded, QueryAllPhase<phase>>,
input: WhereInput<QueryColumns<columnTypes>>,
)
| 333 | } |
| 334 | |
| 335 | where( |
| 336 | this: Query<source, columnTypes, row, loaded, QueryAllPhase<phase>>, |
| 337 | input: WhereInput<QueryColumns<columnTypes>>, |
| 338 | ): Query<source, columnTypes, row, loaded, QueryAllPhase<phase>> { |
| 339 | let predicate = normalizeWhereInput(input) |
| 340 | let normalizedPredicate = normalizePredicateValues( |
| 341 | predicate, |
| 342 | createPredicateColumnResolver([this.#table, ...this.#state.joins.map((join) => join.table)]), |
| 343 | ) |
| 344 | |
| 345 | return this.#clone({ |
| 346 | where: [...this.#state.where, normalizedPredicate], |
| 347 | }) |
| 348 | } |
| 349 | |
| 350 | having( |
| 351 | this: Query<source, columnTypes, row, loaded, QueryAllPhase<phase>>, |
no test coverage detected