classUnsupportedWindowing
final class UnsupportedWindowing
implements Diagnostic
uses Snapshot
Public API: explicitly declared with
@visibility public.A window function or window specification that uses a part of the syntax the server does not support.
Source: https://dev.mysql.com/doc/refman/8.4/en/window-function-restrictions.html.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT SUM(1) OVER (GROUPS UNBOUNDED PRECEDING)') // throws \SqlSemantics\Platform\MySql\Model\Diagnostic\SemanticException: This version of MySQL doesn't yet support 'GROUPS'Properties§
public WindowingLimit $limitMethods§
public function __construct(public WindowingLimit $limit)Parameters
$limit | WindowingLimit | The unsupported part |
public function message(): stringDescribes the problem in the words of the server.
Returns
stringTest cases 1
Test cases 5§
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 4
Relations§
Instantiated in 6
- new SqlSemantics\Platform\MySql\Rules\Call\AggregateResults::aggregate() packages/sql-semantics-mysql/src/Rules/Call/AggregateResults.php:47
- new SqlSemantics\Platform\MySql\Rules\Call\WindowResults::result() packages/sql-semantics-mysql/src/Rules/Call/WindowResults.php:45
- new SqlSemantics\Platform\MySql\Rules\Call\WindowResults::result() packages/sql-semantics-mysql/src/Rules/Call/WindowResults.php:48
- new SqlSemantics\Platform\MySql\Statement\Call\Aggregate\GroupConcat::deriveScalar() packages/sql-semantics-mysql/src/Statement/Call/Aggregate/GroupConcat.php:100
- new SqlSemantics\Platform\MySql\Statement\Call\Window\WindowSpec::deriveWindow() packages/sql-semantics-mysql/src/Statement/Call/Window/WindowSpec.php:76
- new SqlSemantics\Platform\MySql\Statement\Call\Window\WindowSpec::deriveWindow() packages/sql-semantics-mysql/src/Statement/Call/Window/WindowSpec.php:79