Created
July 31, 2020 16:40
-
-
Save CodeDrome/55e72c19b154110059ae76fd909747ab to your computer and use it in GitHub Desktop.
pgdml.py Part 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import psycopg2 | |
from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT | |
import pgconnection | |
def main(): | |
print("------------------") | |
print("| codedrome.com |") | |
print("| PostgreSQL DML |") | |
print("------------------\n") | |
#insert_galleries() | |
#insert_photos() | |
#insert_typesdemo() | |
#update_photos() | |
#delete_photos() | |
#select_photos() | |
#select_galleriesphotos() | |
#insert_photo_invalid_fk() | |
#delete_fk() | |
#reset_serial() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment