for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stubs;
use Yiisoft\Db\Cache\QueryCache;
use Yiisoft\Db\Driver\PDO\CommandPDO;
use Yiisoft\Db\Driver\PDO\CommandPDOInterface;
use Yiisoft\Db\Driver\PDO\ConnectionPDOInterface;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\QueryBuilder\QueryBuilderInterface;
final class Command extends CommandPDO implements CommandPDOInterface
{
public function __construct(ConnectionPDOInterface $db, QueryCache $queryCache)
parent::__construct($db, $queryCache);
}
public function insertEx(string $table, array $columns): bool|array
return [];
public function queryBuilder(): QueryBuilderInterface
return $this->db->getQueryBuilder();
protected function internalExecute(string|null $rawSql): void
throw new NotSupportedException(self::class . ' does not support internalExecute() by core-db.');