Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SQLAlchemy (0.15 sec)

  1. docs/pt/docs/tutorial/sql-databases.md

    Aqui veremos um exemplo usando <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a>.
    
    **SQLModel** é construído sobre <a href="https://www.sqlalchemy.org/" class="external-link" target="_blank">SQLAlchemy</a> e Pydantic. Ele foi criado pelo mesmo autor do **FastAPI** para ser o par perfeito para aplicações **FastAPI** que precisam usar **bancos de dados SQL**.
    
    /// tip | Dica
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/sql-databases.md

    /// info
    
    这些文档即将被更新。🎉
    
    当前版本假设Pydantic v1和SQLAlchemy版本小于2。
    
    新的文档将包括Pydantic v2以及 <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a>(也是基于SQLAlchemy),一旦SQLModel更新为为使用Pydantic v2。
    
    ///
    
    **FastAPI**不需要你使用SQL(关系型)数据库。
    
    但是您可以使用任何您想要的关系型数据库。
    
    在这里,让我们看一个使用着[SQLAlchemy](https://www.sqlalchemy.org/)的示例。
    
    您可以很容易地将其调整为任何SQLAlchemy支持的数据库,如:
    
    * PostgreSQL
    * MySQL
    * SQLite
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/sql-databases.md

        ├── models.py
        └── schemas.py
    ```
    
    📁 `__init__.py` 🛁 📁, ✋️ ⚫️ 💬 🐍 👈 `sql_app` ⏮️ 🌐 🚮 🕹 (🐍 📁) 📦.
    
    🔜 ➡️ 👀 ⚫️❔ 🔠 📁/🕹 🔨.
    
    ## ❎ `SQLAlchemy`
    
    🥇 👆 💪 ❎ `SQLAlchemy`:
    
    <div class="termy">
    
    ```console
    $ pip install sqlalchemy
    
    ---> 100%
    ```
    
    </div>
    
    ## ✍ 🇸🇲 🍕
    
    ➡️ 🔗 📁 `sql_app/database.py`.
    
    ### 🗄 🇸🇲 🍕
    
    ```Python hl_lines="1-3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. pyproject.toml

        "ignore:You seem to already have a custom.*:RuntimeWarning:trio",
        # TODO: remove after upgrading SQLAlchemy to a version that includes the following changes
        # https://github.com/sqlalchemy/sqlalchemy/commit/59521abcc0676e936b31a523bd968fc157fef0c2
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 14:19:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    Here we'll see an example using <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a>.
    
    **SQLModel** is built on top of <a href="https://www.sqlalchemy.org/" class="external-link" target="_blank">SQLAlchemy</a> and Pydantic. It was made by the same author of **FastAPI** to be the perfect match for FastAPI applications that need to use **SQL databases**.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. docs/en/data/external_links.yml

    endra/ link: https://theshubhendra.medium.com/mastering-soft-delete-advanced-sqlalchemy-techniques-4678f4738947 title: 'Mastering Soft Delete: Advanced SQLAlchemy Techniques' - author: Shubhendra Kushwaha author_link: https://www.linkedin.com/in/theshubhendra/ link: https://theshubhendra.medium.com/role-based-row-filtering-advanced-sqlalchemy-techniques-733e6b1328f6 title: 'Role based row filtering: Advanced SQLAlchemy Techniques' German: - author: Marcel Sander (actidoo) author_link: https://www.actidoo.com...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:39:34 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_tutorial001.py

    import importlib
    import warnings
    
    import pytest
    from dirty_equals import IsDict, IsInt
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from sqlalchemy import StaticPool
    from sqlmodel import SQLModel, create_engine
    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py39, needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_sql_databases/test_tutorial002.py

    import importlib
    import warnings
    
    import pytest
    from dirty_equals import IsDict, IsInt
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from sqlalchemy import StaticPool
    from sqlmodel import SQLModel, create_engine
    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py39, needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    * Update [docs/tutorial for SQLAlchemy](https://fastapi.tiangolo.com/tutorial/sql-databases/) including note about _DB Browser for SQLite_.
    
    ## 0.3.0
    
    * Fix/add SQLAlchemy support, including ORM, and update [docs for SQLAlchemy](https://fastapi.tiangolo.com/tutorial/sql-databases/): [#30](https://github.com/tiangolo/fastapi/pull/30).
    
    ## 0.2.1
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top