diff --git a/history_downloader/db_connection.py b/history_downloader/db_connection.py index 29651c8..4b5f94c 100644 --- a/history_downloader/db_connection.py +++ b/history_downloader/db_connection.py @@ -1,10 +1,10 @@ import psycopg2 as psyco -conn = psyco.connect(dbname="aact_db", user="root", host="localhost", password="root") +conn = psyco.connect(dbname="aact_db", user="root", host="will-office", password="root") curse = conn.cursor() -curse.execute("select * FROM http.responses") +curse.execute("select * FROM http.responses LIMIT 100;") print(curse.fetchall()) curse.close()