on dev help sign in
fix test
df4d60fEitan Chatav
squeal-postgresql/src/Squeal/PostgreSQL/Query.hs+1−1
@@ -983,7 +983,7 @@ instance With (Query outer) where
983 ( select_ (sum_ (All #n) `as` #getSum) (from (common #t) & groupBy Nil))
983 ( select_ (sum_ (All #n) `as` #getSum) (from (common #t) & groupBy Nil))
984 in printSQL query
984 in printSQL query
985:}
985:}
986−WITH RECURSIVE "t"("n") AS ((SELECT * FROM (VALUES (1)) AS t ("n")) UNION ALL (SELECT ("n" + 1) AS "n" FROM "t" AS "t" WHERE ("n" < 100))) SELECT sum(ALL "n") AS "getSum" FROM "t" AS "t"
986+WITH RECURSIVE "t" AS ((SELECT * FROM (VALUES (1)) AS t ("n")) UNION ALL (SELECT ("n" + 1) AS "n" FROM "t" AS "t" WHERE ("n" < 100))) SELECT sum(ALL "n") AS "getSum" FROM "t" AS "t"
987-}
987-}
988withRecursive
988withRecursive
989 :: Aliased (Query outer (recursive ': commons) schemas params) recursive
989 :: Aliased (Query outer (recursive ': commons) schemas params) recursive