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

Method innerJoin

src/query-builder/select-query-builder.ts:711–711  ·  view source on GitHub ↗

* Joins another table to the query using an `inner join`. * * ### Examples * * <!-- siteExample("join", "Simple inner join", 10) --> * * Simple `inner join`s can be done by providing a table name and two columns to join: * * ```ts * const result = await db * .selectFr

(
    table: TE,
    k1: K1,
    k2: K2,
  )

Source from the content-addressed store, hash-verified

709 * ```
710 */
711 innerJoin<
712 TE extends TableExpression<DB, TB>,
713 K1 extends JoinReferenceExpression<DB, TB, TE>,
714 K2 extends JoinReferenceExpression<DB, TB, TE>,

Callers 15

findPasswordSignInMethodFunction · 0.65
findRefreshTokenFunction · 0.65
testIfInSelectFunction · 0.65
testSelectMultipleFunction · 0.65
testIssue764Function · 0.65
testDeleteFunction · 0.65
testReturningFunction · 0.65
testPostgresJsonAggFunction · 0.65

Implementers 1

SelectQueryBuilderImplsrc/query-builder/select-query-builder

Calls

no outgoing calls

Tested by 1

testFunction · 0.52