mirror of
https://github.com/fastapi/sqlmodel.git
synced 2025-08-14 17:41:37 +08:00
📝 Update admonitions in annotations (#1065)
This commit is contained in:

committed by
GitHub

parent
d55af68fd7
commit
ee44f3b85e
@ -16,10 +16,13 @@
|
||||
|
||||
7. Create a new **session** to query data.
|
||||
|
||||
!!! tip
|
||||
Notice that this is a new **session** independent from the one in the other function above.
|
||||
/// tip
|
||||
|
||||
But it still uses the same **engine**. We still have one engine for the whole application.
|
||||
Notice that this is a new **session** independent from the one in the other function above.
|
||||
|
||||
But it still uses the same **engine**. We still have one engine for the whole application.
|
||||
|
||||
///
|
||||
|
||||
8. Use the `select()` function to create a statement selecting all the `Hero` objects.
|
||||
|
||||
|
Reference in New Issue
Block a user