Public Access
Replace two-step ORM update with single UPDATE ... CASE statement. Eliminates IntegrityError from SQLAlchemy flush order violating the unique constraint (meal_plan_id, day_of_week, meal_type).
Replace two-step ORM update with single UPDATE ... CASE statement. Eliminates IntegrityError from SQLAlchemy flush order violating the unique constraint (meal_plan_id, day_of_week, meal_type).