1
"myprocedure"라는 저장 프로 시저가 있습니다. Magento에서 어떻게 부를 수 있습니까?Magento에서 저장 프로 시저를 호출하는 방법은 무엇입니까?
내가 시도 :
$resource = Mage::getSingleton('core/resource');
$writeConnection = $resource->getConnection('core_write');
$query = 'CALL myprocedure()';
$results = $writeConnection ->fetchAll($query);
var_dump($results);
이, 왜 나에게 PDO 오류를 준다?
감사합니다.