object¶
Description¶
Convert a datum into an object or NULL if conversion is impossible
Return type¶
object
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
object( value )
Argument |
Type |
Required |
Multiple |
Constant |
---|---|---|---|---|
value |
convertible to object |
Required |
Only one |
Variable |
Examples¶
make_col obj:object(parse_json(json))
Make a new column ‘obj’ consisting of the JSON objects parsed from the ‘json’ column.