@@ -96,6 +96,7 @@ class Aggregate expr1 exprN aggr
98 the bitwise AND of all non-null input values, or null if none
98 the bitwise AND of all non-null input values, or null if none
101 expression :: Expression '[] commons ('Grouped bys) schemas params '[tab ::: '["col" ::: null 'PGint4]] ('Null 'PGint4)
102 expression :: Expression '[] commons ('Grouped bys) schemas params '[tab ::: '["col" ::: null 'PGint4]] ('Null 'PGint4)
@@ -194,6 +195,7 @@ class Aggregate expr1 exprN aggr
194 -> aggr ('Null (PGAvg ty))
195 -> aggr ('Null (PGAvg ty))
196 {- | correlation coefficient
197 {- | correlation coefficient
199 expression :: Expression '[] c ('Grouped g) s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
201 expression :: Expression '[] c ('Grouped g) s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
@@ -207,6 +209,7 @@ class Aggregate expr1 exprN aggr
207 -> aggr ('Null 'PGfloat8)
209 -> aggr ('Null 'PGfloat8)
209 {- | population covariance
211 {- | population covariance
212 expression :: Expression '[] c ('Grouped g) s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
215 expression :: Expression '[] c ('Grouped g) s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
@@ -220,6 +223,7 @@ class Aggregate expr1 exprN aggr
220 -> aggr ('Null 'PGfloat8)
223 -> aggr ('Null 'PGfloat8)
222 {- | sample covariance
225 {- | sample covariance
225 winFun :: WindowFunction '[] c 'Ungrouped s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
229 winFun :: WindowFunction '[] c 'Ungrouped s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
@@ -233,6 +237,7 @@ class Aggregate expr1 exprN aggr
233 -> aggr ('Null 'PGfloat8)
237 -> aggr ('Null 'PGfloat8)
235 {- | average of the independent variable (sum(X)/N)
239 {- | average of the independent variable (sum(X)/N)
238 expression :: Expression '[] c ('Grouped g) s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
243 expression :: Expression '[] c ('Grouped g) s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
@@ -246,6 +251,7 @@ class Aggregate expr1 exprN aggr
246 -> aggr ('Null 'PGfloat8)
251 -> aggr ('Null 'PGfloat8)
248 {- | average of the dependent variable (sum(Y)/N)
253 {- | average of the dependent variable (sum(Y)/N)
251 winFun :: WindowFunction '[] c 'Ungrouped s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
257 winFun :: WindowFunction '[] c 'Ungrouped s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGfloat8)
@@ -259,6 +265,7 @@ class Aggregate expr1 exprN aggr
259 -> aggr ('Null 'PGfloat8)
265 -> aggr ('Null 'PGfloat8)
261 {- | number of input rows in which both expressions are nonnull
267 {- | number of input rows in which both expressions are nonnull
264 winFun :: WindowFunction '[] c 'Ungrouped s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGint8)
271 winFun :: WindowFunction '[] c 'Ungrouped s p '[t ::: '["x" ::: 'NotNull 'PGfloat8, "y" ::: 'NotNull 'PGfloat8]] ('Null 'PGint8)