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

Examples

For details, see Example: Common Operations.

Feedback
编组 3备份
    openGauss 2024-05-07 00:46:52
    cancel