on dev help sign in
2
582d0d7Eitan Chatav
squeal-postgresql/src/Squeal/PostgreSQL/Expression.hs+1−1
@@ -604,7 +604,7 @@ array1
604array1 xs = UnsafeExpression $ "ARRAY" <>
604array1 xs = UnsafeExpression $ "ARRAY" <>
605 bracketed (renderCommaSeparated renderSQL xs)
605 bracketed (renderCommaSeparated renderSQL xs)
606
606
607−{- | construct a 1-dimensional fixed length array
607+{- | construct a 2-dimensional fixed length array
608
608
609>>> printSQL $ array2 ((null_ :* false *: true) *: (false :* null_ *: true))
609>>> printSQL $ array2 ((null_ :* false *: true) *: (false :* null_ *: true))
610ARRAY[[NULL, FALSE, TRUE], [FALSE, NULL, TRUE]]
610ARRAY[[NULL, FALSE, TRUE], [FALSE, NULL, TRUE]]