refaktorálás javításai
This commit is contained in:
@@ -6,7 +6,7 @@ from app.database import AsyncSessionLocal
|
||||
|
||||
async def show_gold():
|
||||
async with AsyncSessionLocal() as db:
|
||||
res = await db.execute(text('SELECT make, model, power_kw, engine_capacity, fuel_type, factory_data FROM data.vehicle_catalog ORDER BY id DESC LIMIT 10'))
|
||||
res = await db.execute(text('SELECT make, model, power_kw, engine_capacity, fuel_type, factory_data FROM vehicle.vehicle_catalog ORDER BY id DESC LIMIT 10'))
|
||||
rows = res.fetchall()
|
||||
|
||||
print('\n' + '🏆 AZ ARANY KATALÓGUS LEGÚJABB JÁRMŰVEI 🏆'.center(60))
|
||||
|
||||
Reference in New Issue
Block a user