arbiter-core-0.1.0.0: Core types and logic for PostgreSQL-backed job queue
Safe HaskellNone
LanguageGHC2024

Arbiter.Core.Array

Synopsis

Array Formatting

fmtArray :: [ByteString] -> ByteString Source #

Format a list of values as a PostgreSQL array literal.

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

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