-
-
Notifications
You must be signed in to change notification settings - Fork 121
Closed
Labels
Milestone
Description
The .executemany()
method is a very efficient way to execute the same SQL query against a huge list of parameters.
sqlite-utils insert
supports a bunch of ways of loading a list of dictionaries - from CSV, TSV, JSON, newline JSON and more thanks to:
What if you could load a list of dictionaries and provide a SQL query with :named
parameters that correspond to keys in those dictionaries instead?
This would need to be a new command - I thought about adding a --sql
option to insert
but that doesn't make sense as that command already requires a table name.