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
2018-02-06 16:57:27 +02:00
2018-04-11 17:12:02 +02:00
2018-04-23 12:00:57 +02:00
2017-08-22 15:06:18 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2017-07-27 09:39:58 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2017-08-10 15:01:10 -04:00
2016-04-08 08:12:47 +03:00
2017-07-19 09:52:15 +02:00
2017-05-04 14:59:11 +03:00
2016-05-16 14:13:31 +03:00
2016-05-16 14:13:31 +03:00
2017-09-03 11:07:27 +03:00
2018-04-23 12:00:56 +02:00
2017-08-10 15:01:10 -04:00
2017-08-10 15:01:10 -04:00
2018-04-16 10:18:28 +02:00
2018-04-23 12:00:57 +02:00
2017-07-01 12:13:44 +03:00
2017-06-29 10:51:20 +02:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2017-05-21 12:26:15 +03:00
2018-04-23 12:00:56 +02:00
2018-04-23 12:00:56 +02:00
2018-04-23 12:00:56 +02:00
2018-04-23 12:00:56 +02:00
2016-12-20 13:06:11 +00:00
2017-02-22 09:19:46 +00:00
2017-07-02 20:06:50 +02:00
2018-04-23 12:00:56 +02:00
2016-10-06 15:42:37 +03:00
2017-11-03 09:10:43 +02:00
2017-10-05 15:29:51 +01:00
2016-04-08 08:12:47 +03:00
2017-07-13 14:02:11 +03:00
2018-03-28 10:49:07 +03:00
2018-04-16 10:20:50 +02:00
2018-04-16 10:20:50 +02:00
2016-04-08 08:12:47 +03:00
2016-12-20 13:06:11 +00:00
2017-04-24 10:40:12 +03:00
2017-04-24 10:40:12 +03:00
2017-11-27 12:14:24 -05:00
2017-11-27 12:14:24 -05:00
2018-02-14 14:15:57 -05:00
2018-04-23 12:00:56 +02:00
2018-04-23 12:00:56 +02:00
2017-07-11 11:30:49 +02:00
2017-08-10 15:01:10 -04:00
2018-04-05 13:39:08 +03:00
2017-01-26 13:50:04 +02:00
2017-04-17 23:03:15 +03:00
2016-12-20 13:06:11 +00:00
2017-07-26 19:28:35 +03:00
2016-04-08 08:12:47 +03:00
2017-09-18 15:15:15 +02:00
2018-03-15 13:34:44 +01:00
2017-05-04 15:59:50 +02:00
2017-05-04 15:59:50 +02:00
2017-01-27 09:24:36 +02:00
2017-01-26 13:50:04 +02:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2017-07-01 12:13:44 +03:00
2017-01-30 10:49:31 +02:00
2018-04-23 12:00:57 +02:00
2017-05-10 12:38:18 +03:00