The list of schedule changes are mixed with update and insert. If we know the method in advance, we don't have to individually check each change, essentially worst case currently is 175 queries to the database (25*7), whereas if we know the operation, we can make one operation to batch insert and one operation to batch update. This makes the worst case 2 queries to the database - one for each type of operation.
The list of schedule changes are mixed with update and insert. If we know the method in advance, we don't have to individually check each change, essentially worst case currently is 175 queries to the database (25*7), whereas if we know the operation, we can make one operation to batch insert and one operation to batch update. This makes the worst case 2 queries to the database - one for each type of operation.