Can i use the SqlAlchemy ORM-Mapper to only generate the SQL-Code?
With simple tables i can use code like
print users_table.select()
print users_table.insert()
print users_table.update()
print users_table.delete()
But with the ORM i have only found a way for SELECT-Statements:
TestUser = User("John", "Doe")
print session.query(User)
How can i generate the SQL for INSERT/UPDATE/DELETE (without realy manipulating the database)?
Thanks.