It just uses a slightly different syntax. One DW recognizes and replaces with {rsupdate.fieldName} and the other it does not recognize so it puts the raw code. The raw code is actually similar just the second example adds the str_replace function to account for double quotes in the database values.