-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
Description
In 1 function I call
(1) crud.user_work_history.create(db, obj_in=user_work_history_in)
... and then call
(2) crud.user.update_when_leave_work(db, db_obj=user_leave, obj_in=user_in)
but 1 working, 2 working but not update new data. Please help me.
How does it work db.commit() db.refresh(db_obj)?
Reactions are currently unavailable