Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Database (0.24 sec)

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

    Let's refer to the file `sql_app/database.py`.
    
    ### Import the SQLAlchemy parts
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    ### Create a database URL for SQLAlchemy
    
    ```Python hl_lines="5-6"
    {!../../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    In this example, we are "connecting" to a SQLite database (opening a file with the SQLite database).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/async-sql-encode-databases.md

    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    !!! tip
        Notice that all this code is pure SQLAlchemy Core.
    
        `databases` is not doing anything here yet.
    
    ## Import and set up `databases`
    
    * Import `databases`.
    * Create a `DATABASE_URL`.
    * Create a `database` object.
    
    ```Python hl_lines="3  9  12"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. docs/em/docs/how-to/sql-databases-peewee.md

    `sql_app` 🔜 ✔️ 📄 📁:
    
    * `sql_app/__init__.py`: 🛁 📁.
    
    * `sql_app/database.py`:
    
    ```Python
    {!../../../docs_src/sql_databases_peewee/sql_app/database.py!}
    ```
    
    * `sql_app/models.py`:
    
    ```Python
    {!../../../docs_src/sql_databases_peewee/sql_app/models.py!}
    ```
    
    * `sql_app/schemas.py`:
    
    ```Python
    {!../../../docs_src/sql_databases_peewee/sql_app/schemas.py!}
    ```
    
    * `sql_app/crud.py`:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/sql-databases.md

    $ pip install sqlalchemy
    
    ---> 100%
    ```
    
    </div>
    
    ## ✍ 🇸🇲 🍕
    
    ➡️ 🔗 📁 `sql_app/database.py`.
    
    ### 🗄 🇸🇲 🍕
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    ### ✍ 💽 📛 🇸🇲
    
    ```Python hl_lines="5-6"
    {!../../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    👉 🖼, 👥 "🔗" 🗄 💽 (📂 📁 ⏮️ 🗄 💽).
    
    📁 🔜 🔎 🎏 📁 📁 `sql_app.db`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  5. internal/event/target/postgresql.go

    	Username           string    `json:"username"` // default: user running minio
    	Password           string    `json:"password"` // default: no password
    	Database           string    `json:"database"` // default: same as user
    	QueueDir           string    `json:"queueDir"`
    	QueueLimit         uint64    `json:"queueLimit"`
    	MaxOpenConnections int       `json:"maxOpenConnections"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py

                        "operationId": "read_items_items__get",
                        "parameters": [
                            {
                                "description": "Query string for the items to search in the database that have a good match",
                                "required": False,
                                "deprecated": True,
                                "schema": IsDict(
                                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py

                        "operationId": "read_items_items__get",
                        "parameters": [
                            {
                                "description": "Query string for the items to search in the database that have a good match",
                                "required": False,
                                "deprecated": True,
                                "schema": IsDict(
                                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py

                        "operationId": "read_items_items__get",
                        "parameters": [
                            {
                                "description": "Query string for the items to search in the database that have a good match",
                                "required": False,
                                "deprecated": True,
                                "schema": IsDict(
                                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py

                        "operationId": "read_items_items__get",
                        "parameters": [
                            {
                                "description": "Query string for the items to search in the database that have a good match",
                                "required": False,
                                "deprecated": True,
                                "schema": IsDict(
                                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/oauth2-jwt.md

        So, you would be able to, for example, share the same data from a Django application in a database with a FastAPI application. Or gradually migrate a Django application using the same database.
    
        And your users would be able to login from your Django app or from your **FastAPI** app, at the same time.
    
    ## Hash and verify the passwords
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top