This commit is contained in:
mwiegand 2022-06-01 17:46:16 +02:00
parent 0a6641847d
commit 7b9e91acd0

View file

@ -11,8 +11,12 @@ app = Flask(__name__)
@app.route('/') @app.route('/')
def home(): def home():
return str(query( r = query(
''' '''
SELECT * FROM messages SELECT * FROM messages
''' '''
).rowcount) )
for row in r.rows:
print(row)
return str('RESULTS:', r.rowcount)