JSON Scalar

json_extract_string()

Arguments & returns

6 overloads

json_extract_string(col0, col1)

Scalar
Overload link col0col1 Returns
#01 JSONBIGINT VARCHAR
#02 JSONVARCHAR VARCHAR
#03 JSONVARCHAR[] VARCHAR[]
#04 VARCHARBIGINT VARCHAR
#05 VARCHARVARCHAR VARCHAR
#06 VARCHARVARCHAR[] VARCHAR[]

In a query

Find the value inside the document.

Extract a JSON field directly as text, ready to use in the rest of your query.

Find the value inside the document.
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Guide recipe · Run to view results.