classMySqlViewDefinitionParser
final class MySqlViewDefinitionParser
Implements the My Sql View Definition Parser contract for MySQL.
Methods§
public function fromQuery(string $query): ViewDefinitionFrom Query for the supplied MySQL input.
Parameters
$query | string |
Returns
Test cases 2
Called from 1
Calls 5
- function-call
rtrimline 22 - function-call
trimline 22 - new ViewDefinition line 24
- method-call MySqlSelectRelationParser::tableNames() line 24
- new MySqlSelectRelationParser line 24
public function fromCreateStatement(string $sql): ?ViewDefinitionFrom Create Statement for the supplied MySQL input.
Parameters
$sql | string |
Returns
Test cases 1
Called from 1
Calls 5
- static-call SqlTokenStream::tokenize() line 32
- static-call MySqlLexerProfile::create() line 32
- function-call
substrline 36 - function-call
trimline 37 - method-call MySqlViewDefinitionParser::fromQuery() line 38
Test cases 5§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.