Example #1
0
 /**
  * Wrapper function to execute an insert query.
  */
 public function executeInsert()
 {
     $result = parent::executeInsert();
     if ($result && $this->m_returnSeqValue) {
         $this->m_seqValue = $this->getDb()->getInsertId();
         Tools::atkdebug("Value for sequence column {$this->m_tables[0]}.{$this->m_seqField}: {$this->m_seqValue}");
     }
     return $result;
 }