MCPcopy
hub / github.com/kysely-org/kysely / where

Method where

src/query-builder/where-interface.ts:314–314  ·  view source on GitHub ↗

* Adds a `where` expression to the query. * * Calling this method multiple times will combine the expressions using `and`. * * Also see whereRef * * ### Examples * * <!-- siteExample("where", "Simple where clause", 10) --> * * `where` method calls are combined w

(
    lhs: RE,
    op: ComparisonOperatorExpression,
    rhs: VE,
  )

Source from the content-addressed store, hash-verified

312 * ```
313 */
314 where<
315 RE extends ReferenceExpression<DB, TB>,
316 VE extends OperandValueExpressionOrList<DB, TB, RE>,
317 >(

Callers 15

findUserByIdFunction · 0.65
lockUserFunction · 0.65
setUserEmailFunction · 0.65
findPasswordSignInMethodFunction · 0.65
findRefreshTokenFunction · 0.65
updateRefreshTokenFunction · 0.65
deleteRefreshTokenFunction · 0.65
where.bench.tsFile · 0.65
testIfInUpdateFunction · 0.65
testIfInDeleteFunction · 0.65
testKyselyAnyUpdatesFunction · 0.65

Implementers 5

UpdateQueryBuildersrc/query-builder/update-query-builder
DeleteQueryBuildersrc/query-builder/delete-query-builder
SelectQueryBuilderImplsrc/query-builder/select-query-builder
OnConflictBuildersrc/query-builder/on-conflict-builder.
OnConflictUpdateBuildersrc/query-builder/on-conflict-builder.

Calls

no outgoing calls

Tested by 5

testFunction · 0.52
getNewestPersonFunction · 0.52
getNewestPersonFunction · 0.52
doesPersonExistsFunction · 0.52
doesPetExistsFunction · 0.52