@@ -484,6 +484,8 @@ array
484484array xs = UnsafeExpression $
485485 "ARRAY[" <> commaSeparated (renderSQL <$> xs) <> "]"
486486
487+-- | >>> printSQL $ cardinality (array [null_, false, true])
488+-- cardinality(ARRAY[NULL, FALSE, TRUE])
487489cardinality
488490 :: Expression outer grp commons schemas params from (nullity ('PGvararray ty))
489491 -> Expression outer grp commons schemas params from (nullity 'PGint8)