InferQueryResult
InferQueryResult<
TFullSchema,TTable,TConfig> = [TFullSchema] extends [Record<string,never>] ?InferRow<TTable> :LookupTableConfig<TFullSchema,TTable> extends infer TTableConfig ?BuildQueryResult<ExtractTablesWithRelations<TFullSchema>,TTableConfig,TConfigextendsRecord<string,unknown> ?TConfig:true> :InferRow<TTable>
Defined in: packages/db/src/types.ts:62
Type Parameters
Section titled “Type Parameters”TFullSchema
Section titled “TFullSchema”TFullSchema extends Record<string, unknown>
TTable
Section titled “TTable”TTable
TConfig
Section titled “TConfig”TConfig