* Add an `and` clause. * @param w - One or more where objects
(...w: (Where<MT> | Where<MT>[])[])
| 317 | * @param w - One or more where objects |
| 318 | */ |
| 319 | and(...w: (Where<MT> | Where<MT>[])[]): this { |
| 320 | let clauses: Where<MT>[] = []; |
| 321 | w.forEach(where => { |
| 322 | clauses = clauses.concat(Array.isArray(where) ? where : [where]); |
| 323 | }); |
| 324 | return this.add({and: clauses}); |
| 325 | } |
| 326 | |
| 327 | /** |
| 328 | * Add an `or` clause. |
no test coverage detected