diff --git a/tests/Support/Stub/DMLQueryBuilder.php b/tests/Support/Stub/DMLQueryBuilder.php index a91c17548..a3b5ebfe4 100644 --- a/tests/Support/Stub/DMLQueryBuilder.php +++ b/tests/Support/Stub/DMLQueryBuilder.php @@ -4,8 +4,28 @@ namespace Yiisoft\Db\Tests\Support\Stub; +use Yiisoft\Db\Exception\NotSupportedException; +use Yiisoft\Db\Query\QueryInterface; use Yiisoft\Db\QueryBuilder\AbstractDMLQueryBuilder; final class DMLQueryBuilder extends AbstractDMLQueryBuilder { + 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 upsert( + string $table, + QueryInterface|array $insertColumns, + bool|array $updateColumns, + array &$params + ): string { + throw new NotSupportedException(__METHOD__ . '() is not supported by this DBMS.'); + } }