Skip to main content
Module

x/postgres/query/array_parser.ts>parseArray

PostgreSQL driver for Deno
Extremely Popular
Go to Latest
function parseArray
import { parseArray } from "https://deno.land/x/postgres@v0.19.2/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