Skip to content

Commit

Permalink
Remove methods with NotSupportedException
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Aug 22, 2023
1 parent cab52c5 commit 230859a
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/QueryBuilder/AbstractDMLQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,6 @@ public function insert(string $table, QueryInterface|array $columns, array &$par
. (!empty($placeholders) ? ' VALUES (' . implode(', ', $placeholders) . ')' : ' ' . $values);
}

public function insertWithReturningPks(string $table, QueryInterface|array $columns, array &$params = []): string
{
throw new NotSupportedException(__METHOD__ . '() is not supported by this DBMS.');
}

public function resetSequence(string $table, int|string|null $value = null): string
{
throw new NotSupportedException(__METHOD__ . '() is not supported by this DBMS.');
}

public function update(string $table, array $columns, array|string $condition, array &$params = []): string
{
[$lines, $params] = $this->prepareUpdateSets($table, $columns, $params);
Expand All @@ -129,15 +119,6 @@ public function update(string $table, array $columns, array|string $condition, a
return $where === '' ? $sql : $sql . ' ' . $where;
}

public function upsert(
string $table,
QueryInterface|array $insertColumns,
bool|array $updateColumns,
array &$params
): string {
throw new NotSupportedException(__METHOD__ . ' is not supported by this DBMS.');
}

/**
* Prepare select-subQuery and field names for `INSERT INTO ... SELECT` SQL statement.
*
Expand Down

0 comments on commit 230859a

Please sign in to comment.