Rust, mysql, prepared statements, batch insert

I'm referring to:

https://docs.rs/mysql/17.0.0/mysql/struct.Conn.html#method.prepare

  1. I'm trying to insert a large number (> 1000) rows into MySQL via Prepared Statements.

  2. I know that I can execute the statement per row for each insert.

  3. I am wondering, with prepared statements, is there is a way to batch insert all 1000 items on a single call.

Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.