You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Main entry point for constructing the result type of a PostgREST query.
26
29
*
@@ -445,7 +448,7 @@ type ProcessSpreadNode<
445
448
? ResultextendsSelectQueryError<infer E>
446
449
? SelectQueryError<E>
447
450
: ExtractFirstProperty<Result>extendsunknown[]
448
-
? ClientOptions['postgrestVersion']extends13// Spread over an many-to-many relationship, turn all the result fields into correlated arrays
451
+
? SpreadOnManyEnabled<ClientOptions['postgrestVersion']>extendstrue// Spread over an many-to-many relationship, turn all the result fields into correlated arrays
449
452
? ProcessManyToManySpreadNodeResult<Result>
450
453
: {
451
454
[KinSpread['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