interfaceQuery
interface Query
Public API: explicitly declared with
@visibility public.A checked result of analyzing SQL. The database implementation provides its structure and semantic facts.
$query = new class implements \SqlSemantics\Query { public function toString(): string { return 'SELECT 1'; } };
$query->toString() // => 'SELECT 1'Methods§
public function toString(): stringReturns SQL rendered from the analyzed structure.
Returns
stringTest cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
QueryTestcalls
Other tests reaching this symbol 1
Relations§
Implemented by 3
Type declarations 4
- type SqlSemantics\Platform\MySql\Semantics packages/sql-semantics-mysql/src/Semantics.php:137
- type SqlSemantics\Platform\PostgreSql\Semantics packages/sql-semantics-postgres/src/Semantics.php:139
- type SqlSemantics\Platform\Sqlite\Semantics packages/sql-semantics-sqlite/src/Semantics.php:137
- type SqlSemantics\Analyzer packages/sql-semantics/src/Analyzer.php:22