Hi there I wrote raw SQL like below. But, I'd like to write without SQL. because, I thknk it is philosophy of SQLAlchemy. Do you know how to write instead "REPLACE"?
sql = "REPLACE INTO users (id, name, profile_url, access_token) VALUES (?,?,?,?)" self.db.execute(sql, (id, name, url, access_token)) users = Table('users', metadata, autoload=True) s = users.select(users.c.id == my_id) rs = s.execute() user = rs.fetchone() -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/3P2Xb0QtYRYJ. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.