Hi,
playback of the recording is from your web application perspective same thing a if you would be clicking in browser. So any operation you record is played back and your applications reacts as any user would perform same. So if any actions you record modify database of your application it will happen also when played back.
Hope that helps,
Peter