# Type Alias SQLiteUpdateJoinFn<T>

SQLiteUpdateJoinFn: <
TJoinedTable extends SQLiteTable
| Subquery
| SQLiteViewBase
| SQL,
>(
table: TJoinedTable,
on:
| (
(
updateTable: T["_"]["table"]["_"]["columns"],
from: T["_"]["from"] extends SQLiteTable
? T["_"]["from"]["_"]["columns"]
: T["_"]["from"] extends Subquery
| SQLiteViewBase
? T["_"]["from"]["_"]["selectedFields"]
: never,
) => SQL | undefined
)
| SQL
| undefined,
) => T

#### Type Parameters

- T extends AnySQLiteUpdate

#### Type Declaration

- - <TJoinedTable extends SQLiteTable | Subquery | SQLiteViewBase | SQL>(
    table: TJoinedTable,
    on:
    | (
    (
    updateTable: T["_"]["table"]["_"]["columns"],
    from: T["_"]["from"] extends SQLiteTable
    ? T["_"]["from"]["_"]["columns"]
    : T["_"]["from"] extends Subquery
    | SQLiteViewBase
    ? T["_"]["from"]["_"]["selectedFields"]
    : never,
    ) => SQL | undefined
    )
    | SQL
    | undefined,
    ): T

  - #### Type Parameters

    - TJoinedTable extends SQLiteTable | Subquery | SQLiteViewBase | SQL

    #### Parameters

    - table: TJoinedTable
    - on:
      | (
      (
      updateTable: T["_"]["table"]["_"]["columns"],
      from: T["_"]["from"] extends SQLiteTable
      ? T["_"]["from"]["_"]["columns"]
      : T["_"]["from"] extends Subquery
      | SQLiteViewBase
      ? T["_"]["from"]["_"]["selectedFields"]
      : never,
      ) => SQL | undefined
      )
      | SQL
      | undefined

    #### Returns T

- Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/query-builders/update.d.ts:54