scalar-extension
format
Build formatted text. %I quotes an identifier and %L quotes a literal; prefer bound parameters for data.
Formal Syntax & Structure
sql syntaxsql
format(formatstr text, VARIADIC args)Working Example
Example Snippetsql
SELECT format('%s: %s', 'item', 7);