final class SpatialRule
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql\Lowering\Server". Code outside that scope must not name this declaration.

Lowers CREATE and DROP SPATIAL REFERENCE SYSTEM.

Rule: MYSQL-SRS-001. Scope: create_srs_stmt, srs_attributes, drop_srs_stmt. The attribute list is left recursive from an empty list and is walked along its spine; the attributes are kept in written order. Constructs: CreateSpatialReference, SpatialAttribute, DropSpatialReference. Terminates: the spine is walked in a loop. Source: https://dev.mysql.com/doc/refman/8.4/en/create-spatial-reference-system.html, https://dev.mysql.com/doc/refman/8.4/en/drop-spatial-reference-system.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to
public function statement(Form $form): Statement

Private surface 2§

Implementation details, listed for orientation only.

private const ATTRIBUTES = ['srs_attributes: srs_attributes NAME_SYM TEXT_STRING_sys_nonewline' => \SqlSem…
private Lowering $lowering

Test cases 1§

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

Dedicated tests 1

Relations§

Instantiated in 1
Method calls 1