protected function getConnectionParams($connectionName = null)
    {
        return ($connectionName != null ) ?
            $this->getContainer()['dbs'][$connectionName]->getParams():
            $this->getHelper('db')->getConnection()->getParams();
    }