interfaceTransactionStatementParser
interface TransactionStatementParser
Reads a statement as what it does to a transaction, where that is what it is.
Every dialect writes savepoints and the words that open a transaction a little differently, so each database package reads its own.
Methods§
public function parse(string $sql): ?TransactionStatementTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Other tests reaching this symbol 1
Relations§
Implemented by 4
- FakeTransactionStatementParser packages/ztd-query-core/tests/Fake/FakeTransactionStatementParser.php:18
- MySqlTransactionStatementParser packages/ztd-query-mysql/src/Sql/Transaction/MySqlTransactionStatementParser.php:15
- PgSqlTransactionStatementParser packages/ztd-query-postgres/src/Sql/Transaction/PgSqlTransactionStatementParser.php:15
- SqliteTransactionStatementParser packages/ztd-query-sqlite/src/Sql/Transaction/SqliteTransactionStatementParser.php:14