It replaces null values for integers (in this case with -1).
Input | Output |
---|---|
1
|
1
|
null
|
-1
|
2
|
2
|
It replaces null values for strings (in this case with empty strings).
Input | Output |
---|---|
null
|
""
|
"a"
|
"a"
|
"b"
|
"b"
|
null
|
""
|