arbiter-core-0.1.0.0
arbiter-core
Safe HaskellNone
LanguageGHC2024

Arbiter.Core.Array

Description

PostgreSQL array literal formatting for the text wire format.

Synopsis

Array Formatting

Source #fmtArray :: [ByteString] -> ByteString

Format a list of values as a PostgreSQL array literal.

Source #fmtNullableArray :: [Maybe ByteString] -> ByteString

Format a nullable list as a PostgreSQL array literal. Nothing becomes NULL.