Database Returns Instead of Data
Whenever I collect data from my database, it is stored as <sqlite3.Row object at 0x0000019494A725F0> instead of being the actual data within the database. I've tried multiple methods that worked for other people but doesn't for me(such as .fetchall()). I'm currently using Flask and I think that might have something to do with the error. This is my current python code: @app.route('/signup', methods=["GET", "POST"]) def add_data(): p = request.form['password'] p2 = request.form['password_c'] if p == p2: db = get_db() e = request.form['email'] e2 = db.execute('SELECT Email FROM Users').fetchall()
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.