示例#1
0
 /**
  * @param bool $insertId
  *
  * @return string
  */
 public function execute($insertId = true)
 {
     if (!$insertId) {
         return parent::execute();
     }
     return $this->dbh->lastInsertId();
 }
示例#2
0
 /**
  * @return \PDOStatement
  */
 public function execute()
 {
     return parent::execute();
 }
示例#3
0
 /**
  * @return int
  */
 public function execute()
 {
     return parent::execute()->rowCount();
 }
示例#4
0
 /**
  * @return string
  */
 public function execute()
 {
     parent::execute();
     return $this->dbh->lastInsertId();
 }