Files
scylladb/cql3
Piotr Sarna cd76a01747 cql3: add fromJson() function
This function extends JSON support with fromJson() function,
which can be used in UPDATE clause to transform JSON value
into a value with proper CQL type.

fromJson() accepts strings and may return any type, so its instances,
like toJson(), are generated during calls.

This commit also extends functions::get() with additional
'receiver' parameter. This parameter is used to extract receiver type
information neeeded to generate proper fromJson instance.
Receiver is known only during insert/update, so functions::get() also
accepts a nullptr if receiver is not known (e.g. during selection).

References #2058
2018-04-23 12:00:57 +02:00
..
2018-04-23 12:00:57 +02:00
2017-08-10 15:01:10 -04:00
2017-08-10 15:01:10 -04:00
2018-03-28 10:49:07 +03:00
2018-04-05 13:39:08 +03:00