thisAKcode / fastapi_streetart_map

0 stars 0 forks source link

do not query in a loop. #24

Open thisAKcode opened 1 year ago

thisAKcode commented 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