martin-georgiev/postgresql-for-doctrine
Adds PostgreSQL-specific power to Doctrine DBAL/ORM: rich native types (jsonb, arrays, ranges, network, geometric, etc.) plus DQL functions/operators for JSON and array querying. Supports PostgreSQL 9.4+ and PHP 8.2+.
| PostgreSQL function | Register for DQL as | Implemented by |
|---|---|---|
| cast | CAST | MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\Cast |
| to_char | TO_CHAR | MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\ToChar |
| to_number | TO_NUMBER | MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\ToNumber |
| uuidv4 | UUIDV4 | MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\Uuidv4 |
| uuidv7 | UUIDV7 | MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\Uuidv7 |
| uuid_extract_timestamp | UUID_EXTRACT_TIMESTAMP | MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\UuidExtractTimestamp |
| uuid_extract_version | UUID_EXTRACT_VERSION | MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\UuidExtractVersion |
How can I help you explore Laravel packages today?