I have a simple model that just is setup to connect to and execute a stored proc. I call it using:
$sql = "CALL test
(" . $strCmd . ");";
$res = new \StoredProcs();
$rec = $res->getReadConnection()->query($sql)->fetchAll();
works great with one result set, the proc however returns another result of count using SET _total = FOUND_ROWS();
I am having a hard time getting access to that second result set.