Expression
2 years ago
ForUpdate
2 years ago
ForUpdate.php
2 years ago
Limit.php
2 years ago
QueryBuilder.php
2 years ago
QueryException.php
2 years ago
SelectQuery.php
2 years ago
index.php
2 years ago
QueryException.php
17 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Doctrine\DBAL\Query; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Doctrine\DBAL\Exception; |
| 5 | use function implode; |
| 6 | class QueryException extends Exception |
| 7 | { |
| 8 | public static function unknownAlias($alias, $registeredAliases) |
| 9 | { |
| 10 | return new self("The given alias '" . $alias . "' is not part of " . 'any FROM or JOIN clause table. The currently registered ' . 'aliases are: ' . implode(', ', $registeredAliases) . '.'); |
| 11 | } |
| 12 | public static function nonUniqueAlias($alias, $registeredAliases) |
| 13 | { |
| 14 | return new self("The given alias '" . $alias . "' is not unique " . 'in FROM and JOIN clause table. The currently registered ' . 'aliases are: ' . implode(', ', $registeredAliases) . '.'); |
| 15 | } |
| 16 | } |
| 17 |