Public
Edited
Nov 8, 2023
Insert cell
Insert cell
pgquery.parse(`CREATE OR REPLACE FUNCTION cs_fmt_browser_version(v_name varchar, v_version varchar)
RETURNS varchar AS $$
BEGIN
IF v_version IS NULL THEN
RETURN v_name;
END IF;
RETURN v_name || '/' || v_version;
END;
$$ LANGUAGE plpgsql;`)
Insert cell
pgquery.parse("SELECT update AS left /* comment */ FROM between")
Insert cell
pgquery.parse("SELECT 1")
Insert cell
pgquery = require("https://unpkg.com/pg-query-emscripten")
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more