Просмотр исходного кода

docs: add changelog for PR 13172

zmstone 1 год назад
Родитель
Сommit
e7fecd5e91
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      changes/ee/feat-13172.en.md

+ 5 - 0
changes/ee/feat-13172.en.md

@@ -0,0 +1,5 @@
+Added a rule function `map_to_redis_hset_args` to help preparing redis HSET (or HMSET) multi-fields values.
+
+For example, if `payload.value` is a map of multiple data fields,
+this rule `SELECT  map_to_redis_hset_args(payload.value) as hset_fields FROM  "t/#"` can prepare `hset_fields`
+for redis action to render the command template like `HMSET name1 ${hset_fields}`.