JSON_ARRAY

リストされた値を返します。リストは空にすることができます。アレイ値は、string、number、object、array、boolean、または null 型である必要があります。

構文

<JSON array constructor> ::= “JSON_ARRAY “ (“ [ <JSON value expression> [ { “,” <JSON value expression> }... ] [ "NULL ON NULL" | "ABSENT ON NULL" ] ]  “) ”

ルール

1. 戻り型は文字列です。
2. ABSENT ON NULL は暗黙的です。
3. クエリ式 JSON_ARRAY " (" <query expression> ") " はサポートされていません。この目的を達成するには、必要な表形式のデータを含むビューを作成します。
4. 数値型、ブール型、null 型以外に、JSON 値は文字列にするか、文字列としてキャストする必要があります。

SELECT * from /shared/examples/ds_orders/tutorial/customers ORDER BY JSON_ARRAY () 
SELECT a.customerid, a.CompanyName from /shared/examples/ds_orders/tutorial/customers a INNER JOIN  /shared/examples/ds_orders/shippingmethods b ON '[]'=JSON_ARRAY()