Help Center/ GaussDB/ Developer Guide(Centralized_2.x)/ API Reference/ Psycopg/ curosr.executemany(query,vars_list)
Updated on 2023-10-23 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

Examples

For details, see Example: Common Operations.