Comments - JSON_TYPE

3 years, 6 months ago Laurents Meyer

A 'NULL' *string* is returned for a JSON null literal:

select JSON_TYPE('null');

But a NULL *value* is returned for a NULL argument:

select JSON_TYPE(NULL);

This is currently not stated correctly in the table for the NULL return type.

 
2 years, 10 months ago Vicențiu Ciorbaru

Thanks!

I have corrected this and a few other values that were incorrect (too many possible return values that can not be returned).

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.