-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Open
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.Proposalhelp wanted
Milestone
Description
The current implementation of database/sql doesn't provide a way to insert multiple rows at once, without getting to the wire upon every call to db.Exec There are APIs outside which either provide a general way for bulk actions cf. SQLBulkCopy of ADO.NET 2.0 [1] or has a specifier upto how many statements should be grouped together cf. Batch Update of ADO.NET 2.0 DataAdapter Object [1] or simply supports an array to be bound to Exec, open which Exec iterates internally, preventing execessive wire communication. [2] [1] Codeproject, "Multiple Ways to do Multiple Inserts" http://www.codeproject.com/Articles/25457/Multiple-Ways-to-do-Multiple-Inserts [2] Python PEP 249 -- Python Database API Specification v2.0 http://www.python.org/dev/peps/pep-0249/#executemany
infogulch, MikeSchroll, moesy, nielsole, gauravsb and 50 morexiaokentrl and mikewoostint
Metadata
Metadata
Assignees
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.Proposalhelp wanted
Type
Projects
Status
Incoming