## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart LR Start((START)) --> | | QR_CODE[QR_CODE]:::quoted QR_CODE --> End((END)) ``` ## Purpose The `QR_CODE` SQL function generates an image representing a QR code. Parameters: - Width: width in pixels. - Height: height in pixels. - Text: text to include. - Preferred version: preferred version. - Error correction level: the level and related percentage of maximum loss. Returns: A binary representation in PNG format of the QR code.