function stringColumnSet
stringColumnSet(
rows: Row[],
column: string,
): Set<string>

Collapse a result's rows to the set of one column's values, as strings — the shared tail of the "which names/ids already exist" reads (applied migrations, live table columns, index and trigger names).

Parameters

rows: Row[]
column: string

Return Type

Set<string>

Usage

import { stringColumnSet } from "docs/database.ts";