loading file (1) 썸네일형 리스트형 [psycopg2] Loading and Extracting Data with Tables 1. Ways of Loading Data with Tables 1.1 Using mogrify method In psycopg2, external data can be imported into cursor.execute through the %s placeholders. When the placeholder is used in the cursor.execute() method, the value in Python form is automatically changed into Postgres type. This change occurs through the cursor.mogrify() method. The object converted through cursor.mogrify is a bytes obj.. 이전 1 다음