Update and rename intro_sqlalchemy.md to sqlalchemy_aggregation.md

pull/707/head
Arihant Yadav 2024-05-30 23:16:57 +05:30 zatwierdzone przez GitHub
rodzic d2e70303e5
commit 33e2191bac
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -102,4 +102,4 @@ min_price = session.query(func.min(Product.price)).scalar()
print(f'Minimum price of products: {min_price}')
```
In general, the aggregation functions can be implemented by utilising the **session** object to execute the desired query on the table present in a database using the **query()** method. The **scalar()** method is called on the query object to execute the query and return a single value
In general, the aggregation functions can be implemented by utilising the **session** object to execute the desired query on the table present in a database using the **query()** method. The **scalar()** method is called on the query object to execute the query and return a single value