interfaceNameRules
interface NameRules
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
Supplies identifier comparison and decoding.
Methods§
public function name(Token $token): stringDecodes identifier quoting and applies the configured language case folding.
Parameters
$token | Token |
Returns
stringpublic function equal(string $left, string $right): boolCompares column or correlation names using this dialect.
Parameters
$left | string | |
$right | string |
Returns
boolpublic function relationEqual(string $left, string $right): boolCompares relation names under the default table name case policy.
Parameters
$left | string | |
$right | string |
Returns
boolpublic function key(string $name): stringCanonical comparison key for a column or correlation identifier.
Parameters
$name | string |
Returns
stringTest cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Relations§
Implemented by 3
Type declarations 4
- type SqlSemantics\Platform\MySql\Platform packages/sql-semantics-mysql/src/Platform.php:110
- type SqlSemantics\Platform\PostgreSql\Platform packages/sql-semantics-postgres/src/Platform.php:107
- type SqlSemantics\Platform\Sqlite\Platform packages/sql-semantics-sqlite/src/Platform.php:107
- type SqlSemantics\Core\Platform packages/sql-semantics/src/Core/Platform.php:48