修改密码

请输入密码
请输入密码 请输入8-64长度密码 和 email 地址不相同 至少包括数字、大写字母、小写字母、半角符号中的 3 个
请输入密码
提交

修改昵称

当前昵称:
提交

申请证书

证书详情

Please complete this required field.

  • Ultipa Graph V4

Standalone

Please complete this required field.

Please complete this required field.

服务器的MAC地址

Please complete this required field.

Please complete this required field.

取消
申请
ID
产品
状态
核数
申请天数
审批时间
过期时间
MAC地址
申请理由
审核信息
关闭
基础信息
  • 用户昵称:
  • 手机号:
  • 公司名称:
  • 公司邮箱:
  • 地区:
  • 语言:
修改密码
申请证书

当前未申请证书.

申请证书
Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

ProductName CreateTime ID Price File
ProductName CreateTime ID Price File

No Invoice

搜索

      JSON_merge()

      概述

      JSON_merge()函数将两个符合JSON格式的字符串进行合并后返回。如果两个输入的JSON字符串里有相同名称的键,取第二个字符串中该键的值。

      语法

      JSON_merge(str_1, str_2)

      参数 类型
      描述
      str_1 String 第一个符合JSON格式的字符串
      str_2 String 第二个符合JSON格式的字符串

      返回值类型:String

      结果示例

      return JSON_merge('{"name":"Lisa","age":23}','{"name":"Lisa","age":30,"interest":"football"}')
      

      结果:{"age":30,"interest":"football","name":"Lisa"}

      建议在JSON对象中使用与包裹两个字符串不同的引号("'),因为引号配对会影响语句的解析结果,可能引发错误。

      使用示例

      将不同来源的信息合并到一个JSON对象中,保留唯一的键及其相应的值。

      with '{
        "name": "John Doe",
        "age": 30,
        "city": "New York"
      }' as s1
      with '{
        "name": "John Doe",
        "age": 29,
        "email": "john.doe@example.com"
      }' as s2
      return JSON_merge(s1, s2)
      

      结果:{"age":29,"city":"New York","email":"john.doe@example.com","name":"John Doe"}

      请完成以下信息后可下载此书
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写
      *
      你的电话必须填写