Open thisAKcode opened 1 year ago
db.query(Item).filter_by(dataset_id =_subdataset.id).all()
bbelderbos Collaborator
This seems to do a query in a loop, try to do a single query = more performant
db.query(Item).filter_by(dataset_id =_subdataset.id).all()
bbelderbos Collaborator
This seems to do a query in a loop, try to do a single query = more performant