interfaceMode
interface Mode
Public API: explicitly declared with
@visibility public.The session settings of one database that change how SQL text is read.
$mode = new class implements \SqlSemantics\Contract\Mode { public function toString(): string { return 'ANSI_QUOTES'; } };
$mode->toString() // => 'ANSI_QUOTES'Methods§
public function toString(): stringAnswers the settings in the canonical spelling the language profile records.
Returns
stringTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
ModeTestcalls
Relations§
Implemented by 1
Type declarations 6
- type SqlSemantics\Platform\MySql\Platform packages/sql-semantics-mysql/src/Platform.php:80
- type SqlSemantics\Platform\MySql\Semantics packages/sql-semantics-mysql/src/Semantics.php:75
- type SqlSemantics\Platform\PostgreSql\Platform packages/sql-semantics-postgres/src/Platform.php:66
- type SqlSemantics\Platform\PostgreSql\Semantics packages/sql-semantics-postgres/src/Semantics.php:77
- type SqlSemantics\Platform\Sqlite\Platform packages/sql-semantics-sqlite/src/Platform.php:53
- type SqlSemantics\Platform\Sqlite\Semantics packages/sql-semantics-sqlite/src/Semantics.php:75