- Preparing search index...
- The search index is not available
kysely
Type alias ExtractTypeFromStringReference<DB, TB, RE, DV>
ExtractTypeFromStringReference<DB, TB, RE, DV>: RE extends `${infer SC}.${infer T}.${infer C}` ? `${SC}.${T}` extends TB ? C extends keyof DB[`${SC}.${T}`] ? DB[`${SC}.${T}`][C] : never : never : RE extends `${infer T}.${infer C}` ? T extends TB ? C extends keyof DB[T] ? DB[T][C] : never : never : RE extends AnyColumn<DB, TB> ? ExtractColumnType<DB, TB, RE> : DV
Type Parameters
-
DB
-
TB extends keyof DB
-
RE extends string
-
DV = unknown