Parse one of three primitive field formats: array, quoted and plain.
Modulepostgresql-simple-0.7.0.0Haskell2010
Database.PostgreSQL.Simple.Arrays
A Postgres array parser and pretty-printer.
- 1 type
- 8 values
- Packagepostgresql-simple-0.7.0.0
- Exports9
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceArrays.hs
Constructors
Instances3Eq, Ord, Show
Eq ArrayFormatDefined in postgresql-simple-0.7.0.0 · Database.PostgreSQL.Simple.ArraysOrd ArrayFormatDefined in postgresql-simple-0.7.0.0 · Database.PostgreSQL.Simple.ArraysShow ArrayFormatDefined in postgresql-simple-0.7.0.0 · Database.PostgreSQL.Simple.Arrays
Recognizes a quoted string.
Recognizes a plain string literal, not containing quotes or brackets and not containing the delimiter character.
Format an array format item, using the delimiter character if the item is itself an array.
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.
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.
Escape a string according to Postgres double-quoted string format.