Hyperf database connection class providing PDO abstraction, query grammar, and transaction support.
// Source: https://github.com/hyperf/hyperf | License: MIT | Copyright Hyperf // Provided via justclaw.it.com; keep this notice with the code. <?php declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://hyperf.wiki * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ namespace Hyperf\Database; use Closure; use DateTimeInterface; use Doctrine\DBAL\Connection as DoctrineConnection; use Doctrine\DBAL\Schema\AbstractSchemaManager; use Doctrine\DBAL\Schema\Column; use Exception; use Generator; use Hyperf\Collection\Arr; use Hyperf\Contracts\Events\Dispatcher; use Hyperf\Database\Events\QueryExecuted; use Hyperf\Database\Exception\InvalidArgumentException; use Hyperf\Database\Except ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key