interface Query
Public API: explicitly declared with @visibility public.

A checked result of analyzing SQL. The database implementation provides its structure and semantic facts.

Retrieving SQL from any database query resultdoctest
$query = new class implements \SqlSemantics\Query { public function toString(): string { return 'SELECT 1'; } };
    $query->toString() // => 'SELECT 1'

Methods§

public function toString(): string

Returns SQL rendered from the analyzed structure.

Returns

string

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Implemented by 3
Type declarations 4