zendframework 1 How do I call a bank procedure?

0

zendframework 1 How do I call a bank procedure?

    $proc = "CALL add_soma(:valor)";
    $stmt = $this->_db->prepare($proc);
    $stmt->bindParam(':valor', $valor, PDO::PARAM_INT);
    $stmt->execute();

    $data = $stmt->fetchAll();
    
asked by anonymous 28.06.2018 / 17:33

0 answers