Fastest way to copy a set (100+) of related SQLAlchemy objects and change attribute on each one
- by rebus
I am developing an app that keeps track of items going in and out of factory.
For example, lets say you have 3 kinds of plastic coming in, they are mixed in various ratios and then sent out as a new product. So to keep track of this I've created following database structure:
This is very simplified overview of my SQLAlchemy models:
IN <-…