InterviewSolution
| 1. |
What Is The Difference Between Overriding A Value By Using Set Vs Append? |
|
Answer» A value set by using SET command will set the value for the key.Doing it over again will OVERRIDE the value. HOWEVER , using append has the EFFECT of set only when the key has no value earlier, but if there is a value already ASSIGNED to the key , then doing append on the key would lead to an appended value to the existing value of the key. A value set by using SET command will set the value for the key.Doing it over again will override the value. However , using append has the effect of set only when the key has no value earlier, but if there is a value already assigned to the key , then doing append on the key would lead to an appended value to the existing value of the key. |
|