@@ -402,12 +402,10 @@
}
$id = 0;
$name = $this->name;
- $this->pdo->beginTransaction();
$query = $this->pdo->query("insert into `{$name}` {$this->pdo->stringSet($data)}");
$query->execute();
$id = $this->lastInsertId();
$query->closeCursor();
- $this->pdo->commit();
return $id;
public function update(array $data, array $filter = null){