Extract one named column from an already obtained PSV row.

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_dt_row_get

Purpose

Extract one named column from an already obtained PSV row.

Arguments

  • $1 — Schema.
  • $2 — Pipe-separated row value (not a table name or index).
  • $3 — Column name.

Output

Writes the selected field value to stdout.

Returns

  • 0 when the column is known; 1 if it is absent.

Usage

  sgnd_dt_row_get "name|role" "Ada|admin" role