Updated on 2024-05-07 GMT+08:00

curosr.executemany(query,vars_list)

Function

This method executes an SQL command against all parameter sequences or mappings found in the sequence SQL.

Prototype

curosr.executemany(query,vars_list)

Parameter

Table 1 curosr.executemany parameters

Keyword

Description

query

SQL statement that you want to execute.

vars_list

Variable list, which matches the %s placeholder in the query.

Return Value

None

Example

For details, see Examples: Common Operations.