Skip to main content

Module parser

Module parser 

Source

Re-exports§

pub use mysql_insert::parse_insert_for_bulk;
pub use mysql_insert::ParsedValue;

Modules§

mysql_insert
MySQL INSERT statement row parser.
postgres_copy
PostgreSQL COPY statement parser.

Structs§

DialectDetectionResult
Result of dialect auto-detection
Parser

Enums§

ContentFilter
Content filter mode for splitting
DialectConfidence
Confidence level of dialect detection
SqlDialect
SQL dialect for parser behavior
StatementType

Constants§

MEDIUM_BUFFER_SIZE
SMALL_BUFFER_SIZE

Functions§

detect_dialect
Detect SQL dialect from file header content. Reads up to 8KB and looks for dialect-specific markers.
detect_dialect_from_file
Detect dialect from a file, reading first 8KB
determine_buffer_size