classBinlogEvent
final class BinlogEvent
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.BINLOG 'str': applies binary log events written in base64 by mysqlbinlog.
Mirrors SQLCOM_BINLOG_BASE64_EVENT with LEX::binlog_stmt_arg. The events are opaque to the parser and kept as the decoded string. Rule: MYSQL-BINLOG-001. The statement has no facts of its own. Source: https://dev.mysql.com/doc/refman/8.4/en/binlog.html. Status: Implemented.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze("binlog 'AAAA'")->statement->events->value // => 'AAAA'Properties§
public Text $eventsMethods§
public function deriveStatement(Derivation $derivation): voidRecords nothing: the events are opaque to the parser.
Parameters
$derivation | Derivation |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
BinlogEventTestcalls