Uh oh!
There was an error while loading. Please reload this page.
sqlalchemy text module #11
choisungwook
started this conversation in
General
Replies: 1 comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fromsqlalchemyimporttextstatement=text(""" INSERT INTO projects (name, created_at, updated_at) VALUES(:name, CURRENT_TIMESTAMP,CURRENT_TIMESTAMP) """)
db.execute(statement, {
"name": request.name
})
db.commit() |
0 replies
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
참고자료
All reactions