Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation uint8
Operation represents a postgres query operation supported by our decoder.
const ( // UnknownOP represents an unknown operation. UnknownOP Operation = iota // SelectOP represents a SELECT operation. SelectOP // InsertOP represents an INSERT operation. InsertOP // UpdateOP represents an UPDATE operation. UpdateOP // CreateTableOP represents a CREATE TABLE operation. CreateTableOP // DropTableOP represents a DROP TABLE operation. DropTableOP // DeleteTableOP represents a DELETE TABLE operation. DeleteTableOP // AlterTableOP represents an ALTER TABLE operation. AlterTableOP // TruncateTableOP represents a TRUNCATE operation. TruncateTableOP // ShowOP represents a command SHOW ShowOP )
func FromString ¶
FromString returns the Operation from a string.
Click to show internal directories.
Click to hide internal directories.