Ejemplo n.º 1
0
Archivo: Morm.php Proyecto: anicet/morm
 /**
  * createInsertSql 
  *
  * build the insert sql query for the model and return it
  *
  * @access private
  * @return string
  */
 private function createInsertSql()
 {
     $to_insert = $this->fieldsToInsert();
     return "insert into `" . $this->_table . "` " . SqlBuilder::set($to_insert);
 }