Zum Inhalt springen

Erstellt ein JSON-Array aus einer Liste von Werten.

func.json_array(1, 'hello', None)
func.json_array(1, 'hello', None)
┌──────────────────┐
│ [1,"hello",null] │
└──────────────────┘
JSON_ARRAY(1, 'hello', None)
SELECT JSON_ARRAY(1, 'hello', NULL);
┌──────────────────┐
│ [1,"hello",null] │
└──────────────────┘