Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # the way I add the new data to mysql
- box = Safebox(details)
- db.session.add(box)
- db.session.commit()
- # the way I fetch the new data
- transaction = Safebox.query.filter_by(id= 5SMWZ).first()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement