# Type Alias SQLiteSelectJoinFn<T, TDynamic, TJoinType>

SQLiteSelectJoinFn: <
TJoinedTable extends SQLiteTable
| Subquery
| SQLiteViewBase
| SQL,
TJoinedName extends
GetSelectTableName<TJoinedTable> = GetSelectTableName<TJoinedTable>,
>(
table: TJoinedTable,
on: ((aliases: T["_"]["selection"]) => SQL | undefined) | SQL | undefined,
) => SQLiteSelectJoin<T, TDynamic, TJoinType, TJoinedTable, TJoinedName>

#### Type Parameters

- T extends AnySQLiteSelectQueryBuilder
- TDynamic extends boolean
- TJoinType extends JoinType

#### Type Declaration

- - <
    TJoinedTable extends SQLiteTable
    | Subquery
    | SQLiteViewBase
    | SQL,
    TJoinedName extends
    GetSelectTableName<TJoinedTable> = GetSelectTableName<TJoinedTable>,
    >(
    table: TJoinedTable,
    on: ((aliases: T["_"]["selection"]) => SQL | undefined) | SQL | undefined,
    ): SQLiteSelectJoin<T, TDynamic, TJoinType, TJoinedTable, TJoinedName>

  - #### Type Parameters

    - TJoinedTable extends SQLiteTable | Subquery | SQLiteViewBase | SQL
    - TJoinedName extends GetSelectTableName<TJoinedTable> = GetSelectTableName<TJoinedTable>

    #### Parameters

    - table: TJoinedTable
    - on: ((aliases: T["_"]["selection"]) => SQL | undefined) | SQL | undefined

    #### Returns SQLiteSelectJoin<T, TDynamic, TJoinType, TJoinedTable, TJoinedName>

- 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/select.types.d.ts:47