I want to do a lot of inserts (let's say a couple of million) into a database as quick as possible. Since I'm calling from C I thought that there might be a shortcut for doing this in the API. I can't help but feel that creating strings from data and having SQLite parse the strings back, all in one call, is less efficient than it could be.
Is there a way to insert data without having to create SQL strings? Are prepared statements the only way to go?
I'm looking for C-specific ways to insert data in the most efficient manner, not general database tips