/**
  * Return a InsertQuery object for this dbobject
  * @return InsertQuery
  * @access private
  */
 public function getInsertQuery()
 {
     $query = new InsertQuery($this->tableName());
     $query->insertFields($this->fieldList());
     return $query;
 }
 function getInsertQuery()
 {
     $query = new InsertQuery($this->table->name(), InsertQuery::DO_REPLACE);
     $query->insertFields($this->fieldList());
     return $query;
 }