SQLAlchemy
- Raw SQL with parameters
db.my_session.execute(
"UPDATE client SET musicVol = :mv, messageVol = :ml",
{'mv': music_volume, 'ml': message_volume}
)
from https://stackoverflow.com/questions/29208847/sqlalchemy-raw-query-and-parametersโ๏ธ
db.my_session.execute(
"UPDATE client SET musicVol = :mv, messageVol = :ml",
{'mv': music_volume, 'ml': message_volume}
)
from https://stackoverflow.com/questions/29208847/sqlalchemy-raw-query-and-parametersโ๏ธ