HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulepostgresql-simple-0.7.0.0Haskell2010

Database.PostgreSQL.Simple.Arrays

A Postgres array parser and pretty-printer.

  • 1 type
  • 8 values
valueplain :: Char -> Parser ByteString
#

Recognizes a plain string literal, not containing quotes or brackets and not containing the delimiter character.

valuedelimit :: Char -> [ArrayFormat] -> ByteString
#

Format a list of array format items, inserting the appropriate delimiter between them. When the items are arrays, they will be delimited with commas; otherwise, they are delimited with the passed-in-delimiter.

valuefmt' :: Bool -> Char -> ArrayFormat -> ByteString
#

Format an array format item, using the delimiter character if the item is itself an array, optionally applying quoting rules. Creates copies for safety when used in FromField instances.