public function insert($table = '', $set = NULL, $escape = NULL)
{
if ($set !== NULL) {
$this->set($set, '', $escape);
}
if ($this->_validate_insert($table) === FALSE) {
return FALSE;
}
$sql = $this->_insert($this->protect_identifiers($this->qb_from[0], TRUE, $escape, FALSE), array_keys($this->qb_set), array_values($this->qb_set));
$this->_reset_write();
return $this->query($sql);
}