Explorer

definy.sql-text

description
The column named name as text (an integer is written in decimal, null is empty)
type
Fn(row: @definy.sql-row, name: String) -> String
expression
fn(row$0, name$1) =>
  match @definy.sql-column-value(row: $0, name: $1, index: 0) {
    #text(text$2) =>
      $2,
    #integer(number$3) =>
      @std.number-to-string(value: $3),
    #null(_) =>
      ""
  }
visibility
public
definy.sql-text (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: gjuYWy9yDAs2skj_wAtPf_qSi-EVulRFbDRDZ5K_vvM
content hash: 1v7cHUpYrFA8_cx7MFxi-Biyk0jl1fzxNKXRSOggU28