Skip to content

Support execute_batch or execute_values  #576

Closed

Description

@oOhyeahh

Hi there

psycopg2 has supported execute_batch and execute_values. Is there any equivalent operation/usage in psycopg3?

Activity

  1. dvarrazzo commented on May 30, 2023

    @dvarrazzo
    Member

    No, and their introduction is not planned. You can just use cursor.executemany(), which should be fast enough, or you can use the psycopg.sql module for advanced uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions