Module

x/postgres/query/array_parser.ts>parseArray

PostgreSQL driver for Deno
Extremely Popular
Latest
function parseArray
import { parseArray } from "https://dotland.deno.dev/x/postgres@v0.19.3/query/array_parser.ts";

Parse a string into an array of values using the provided transform function.

Parameters

source: string

The string to parse

transform: Transformer<T>

A function to transform each value in the array

optional
separator: AllowedSeparators = [UNSUPPORTED]

The separator used to split the string into values

Returns

ArrayResult<T>