wip
This commit is contained in:
parent
0a6641847d
commit
7b9e91acd0
1 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue