refactor: change CallPlan returnings to a Set instead of a List

This commit is contained in:
Taimoor Zaeem
2025-04-26 10:02:30 -05:00
committed by Steve Chavez
parent 01432ce963
commit cd5a611a1a
4 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ data CallPlan = FunctionCall
, funCScalar :: Bool
, funCSetOfScalar :: Bool
, funCRetCompositeAlias :: Bool
, funCReturning :: [FieldName]
, funCReturning :: Set FieldName
}
data CallParams
+1
View File
@@ -30,6 +30,7 @@ data JoinCondition =
(QualifiedIdentifier, FieldName)
deriving (Eq, Show)
-- TODO: Enforce uniqueness of columns by changing to a Set instead of a List where applicable
data ReadPlan = ReadPlan
{ select :: [CoercibleSelectField]
, from :: QualifiedIdentifier