Thank you.
środa, 20 września 2023 o 15:54:42 UTC+2 Mike Bayer napisał(a):
> for a statement like that where the values are embedded in the insert()
> construct directly you would use:
>
> orm_execute_state.statement.compile().params
>
> this is mentioned in the tutorial at
> https://docs.
for a statement like that where the values are embedded in the insert()
construct directly you would use:
orm_execute_state.statement.compile().params
this is mentioned in the tutorial at
https://docs.sqlalchemy.org/en/20/tutorial/data_insert.html#the-insert-sql-expression-construct
oth
Hi Mike,
how to access inserted value in do_orm_execute?
Event "before_insert" has "target" parameter, but how to do it in
do_orm_execute?
session.execute(insert(User).values(name="name"))
I need to access name value but don't know how?
Thanks
--
SQLAlchemy -
The Python SQL Toolkit and Objec