HomeMogDBMogDB StackUqbar
v2.1

Documentation:v2.1

Supported Versions:

Other Versions:

Executing SQL Statements

  1. Construct an operation statement and use %s as a placeholder. During execution, psycopg2 will replace the placeholder with the parameter value. You can add the RETURNING clause to obtain the automatically generated column values.
  2. The cursor.execute method is used to perform operations on one row, and the cursor.executemany method is used to perform operations on multiple rows.
Copyright © 2011-2024 www.enmotech.com All rights reserved.