Created
November 4, 2019 15:06
-
-
Save Allwin12/d41de786cb1b828ff1d050f0884db0e1 to your computer and use it in GitHub Desktop.
Flask SQLAlchemy insert operation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
book = Book(name="The monk who sold his ferrari", author="Robin Sharma", published="1997-03-04") | |
db.session.add(book) | |
db.session.commit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment