19 declare(strict_types=1);
25 protected \ilDBInterface
$db;
34 return $this->db->nextId($table);
37 public function insert(
string $table, array $values): void
39 $this->db->insert($table, $values);
42 public function update(
string $table, array $values, array $where): void
44 $this->db->update($table, $values, $where);
49 $result = $this->db->query($query);
51 while ($row = $result->fetchAssoc()) {
58 $this->db->manipulate($query);
71 public function in(
string $field,
string ...$values): string