Porting Phalcon\Db\Dialect [ci skip]