Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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 Parameters

§
TSelection
[src]
§
TNullability extends Record<string, JoinNullability>
[src]

§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]