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

Method join

src/raw-builder/sql.ts:376–376  ·  view source on GitHub ↗

* This can be used to add lists of things to SQL snippets. * * ### Examples * * ```ts * import type { Person } from 'type-editor' // imaginary module * * function findByNicknames(nicknames: string[]): Promise { * return db * .selectFrom('person') * .

(
    array: readonly unknown[],
    separator?: RawBuilder<any>,
  )

Source from the content-addressed store, hash-verified

374 * ```
375 */
376 join<T = unknown>(
377 array: readonly unknown[],
378 separator?: RawBuilder<any>,
379 ): RawBuilder<T>

Callers 15

TestContextClass · 0.65
migrateToLatestFunction · 0.65
printSummaryFunction · 0.65
testSqlFunction · 0.65
valuesFunction · 0.65
raw-sql.test.tsFile · 0.65
jsonArrayFromFunction · 0.65
jsonObjectFromFunction · 0.65
jsonBuildObjectFunction · 0.65
jsonArrayFromFunction · 0.65
jsonObjectFromFunction · 0.65
jsonBuildObjectFunction · 0.65

Calls

no outgoing calls

Tested by 1

valuesFunction · 0.52