-
-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Description
Hi! Could you advice me the best way to INSERT multiple rows?
- I could firstly compose
INSERT INTO table (col1, col2) VALUES (?, ?), (?, ?), (?, ?) ...and so many(?, ?)as I have rows to write. Then Execute - Either I could do
sqlitex.Execute(conn, "INSERT INTO table (col1, col2) VALUES (?, ?);", ...)in a loop, for all rows I need to persist
( I use sqlitex.Open())
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels