BuildSubquerySelection
type BuildSubquerySelection<TSelection, TNullability extends Record<string, JoinNullability>> = TSelection extends never ? any : Simplify<[Key in keyof TSelection]: TSelection[Key] extends SQL ? DrizzleTypeError<"You cannot reference this field without assigning it an alias first - use `.as(<alias>)`"> : TSelection[Key] extends SQL.Aliased ? TSelection[Key] : TSelection[Key] extends AnyColumn ? ApplyNullabilityToColumn<TSelection[Key], TNullability[TSelection[Key]["_"]["tableName"]]> : TSelection[Key] extends Record<string, AnyColumn | SQL | SQL.Aliased> ? BuildSubquerySelection<TSelection[Key], TNullability> : never>;
§Type
§
TSelection extends never ? any : Simplify<[Key in keyof TSelection]: TSelection[Key] extends SQL ? DrizzleTypeError<"You cannot reference this field without assigning it an alias first - use `.as(<alias>)`"> : TSelection[Key] extends SQL.Aliased ? TSelection[Key] : TSelection[Key] extends AnyColumn ? ApplyNullabilityToColumn<TSelection[Key], TNullability[TSelection[Key]["_"]["tableName"]]> : TSelection[Key] extends Record<string, AnyColumn | SQL | SQL.Aliased> ? BuildSubquerySelection<TSelection[Key], TNullability> : never>
[src]