Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -31,5 +31,5 @@ def hashJoin(table1; key1; table2; key2):
($row[key2]|h) as $key
| if $hash|has($key) then
reduce $hash[$key][] as $r (.; . + [ $row + $r ] )
else . end)
else . end)
;

View file

@ -21,7 +21,7 @@ def hashJoinArrays(table1; index1; table2; index2):
($row[index2]|h) as $key
| if $hash|has($key) then
reduce $hash[$key][] as $r
(.;
. + [ $r + $row[0:index2] + $row[index2+1:] ] )
else . end)
(.;
. + [ $r + $row[0:index2] + $row[index2+1:] ] )
else . end)
;