temp commit

This commit is contained in:
Alex Orid 2021-04-05 14:12:47 -04:00
parent d80e3741d4
commit fd5f179df3

7
db.py
View File

@ -27,7 +27,7 @@ class db_module():
def dirtyModeSetup(self):
self.create_table('testing')
self.get_data()
self.get_data(key = "testerinoz")
def setup_connection(self, newName:str):
self.dbName = newName
@ -43,6 +43,9 @@ class db_module():
self.cursor.execute("INSERT INTO testing VALUES ('testing','testerinozy','extra stuff 3')")
self.connection.commit()
def create_json_obj_table():
pass
def does_table_exist(self, tableName: str = ""):
pass
@ -58,7 +61,7 @@ class db_module():
print(resultz)
print("loop")
for thing in resultz:
if thing[1] == "testerino":
if thing[1] == key:
print("found it")
print(thing[2])