Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Use this module for SQLite database queries.
batch_insert db sql objs obj_args ret
inserts into the database db
, running the query sql
, the row tuples obtained by encoding the list of objs
using the obj_args
function.
This prepares a new statement each time because the VALUES (...)
clause may contain different numbers of placeholders in each call.
The return type of the query is decoded by ret
.