Expand description
MySQL INSERT statement row parser.
Parses INSERT INTO … VALUES statements to extract individual rows and optionally extract PK/FK column values for dependency tracking.
Structs§
- FkRef
- Reference to a specific foreign key in a table
- Insert
Parser - Parser for MySQL INSERT statements
- Insert
Values - Result of parsing INSERT values for bulk loading
- Parsed
Row - A parsed row from an INSERT statement
Enums§
- Parsed
Value - Parsed value from an INSERT statement
- PkValue
- Primary key value representation supporting common types
Functions§
- hash_
pk_ tuple - Hash a PK tuple into a compact 64-bit hash for memory-efficient storage. Uses AHash for fast, high-quality hashing.
- parse_
insert_ for_ bulk - Parse INSERT statement for bulk loading (extracts table, columns, and values)
- parse_
mysql_ insert_ rows - Parse all rows from a MySQL INSERT statement
- parse_
mysql_ insert_ rows_ raw - Parse rows without schema (just raw row extraction)
Type Aliases§
- PkHash
Set - Compact hash-based set of primary keys for memory efficiency. Uses 64-bit hashes instead of full values - suitable for large datasets where collision risk is acceptable (sampling, validation).
- PkSet
- Set of primary key values for a table (stores full tuples)
- PkTuple
- Tuple of PK values for composite primary keys