Skip to main content

parse_insert_for_bulk

Function parse_insert_for_bulk 

Source
pub fn parse_insert_for_bulk(stmt: &[u8]) -> Result<InsertValues>
Expand description

Parse INSERT statement for bulk loading (extracts table, columns, and values)

This function extracts table name, optional column list, and all VALUES from an INSERT statement without requiring a schema. It’s optimized for bulk loading into DuckDB via the Appender API.