schmunk42/database-command — pull request #1 by maxxer (2012-10-26 15:34:30+00:00)
Title: Proper quotation in inserts

Instead of doing an addcslashes, I'd suggest to use Yii quotation tools.
With cslashes it wasn't i.e. correctly inserting md5 fields, containing $.