-2 seconds on query baby
This commit is contained in:
		@@ -282,9 +282,7 @@ async def get_stocks_data(
 | 
				
			|||||||
            slaves_stock_subquery.c.product_id == MarketplaceProduct.product_id
 | 
					            slaves_stock_subquery.c.product_id == MarketplaceProduct.product_id
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    print(stmt.compile(compile_kwargs={
 | 
					
 | 
				
			||||||
        'literal_binds': True
 | 
					 | 
				
			||||||
    }))
 | 
					 | 
				
			||||||
    result = await session.execute(stmt)
 | 
					    result = await session.execute(stmt)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    marketplace_products = result.all()
 | 
					    marketplace_products = result.all()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user