Skip to content

Commit ceae114

Browse files
Update src/select-query-parser/result.ts
Co-authored-by: Steve Chavez <[email protected]>
1 parent 8c15d0f commit ceae114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/select-query-parser/result.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ type ProcessSpreadNode<
445445
? Result extends SelectQueryError<infer E>
446446
? SelectQueryError<E>
447447
: ExtractFirstProperty<Result> extends unknown[]
448-
? ClientOptions['postgrestVersion'] extends 13 // Spread over an many-to-many relationship, turn all the result fields into arrays
448+
? ClientOptions['postgrestVersion'] extends 13 // Spread over an many-to-many relationship, turn all the result fields into correlated arrays
449449
? ProcessManyToManySpreadNodeResult<Result>
450450
: {
451451
[K in Spread['target']['name']]: SelectQueryError<`"${RelationName}" and "${Spread['target']['name']}" do not form a many-to-one or one-to-one relationship spread not possible`>

0 commit comments

Comments
 (0)