次の方法で共有


hash_combine()

2 つ以上のハッシュのハッシュ値を結合します。

構文

hash_combine(h1,h2 [,h3 ...])

構文規則について詳しく知る。

パラメーター

名前 必須 説明
h1h2、... Hn long ✔️ 結合するハッシュ値。

戻り値

指定されたスカラーの結合後のハッシュ値。

print value1 = "Hello", value2 = "World"
| extend h1 = hash(value1), h2=hash(value2)
| extend combined = hash_combine(h1, h2)

出力

value1 value2 h1 h2 結合後
こんにちは World 753694413698530628 1846988464401551951 -1440138333540407281