- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 225 for Database (0.32 sec)
-
docs_src/sql_databases/sql_app_py310/tests/test_sql_app.py
from fastapi.testclient import TestClient from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from ..database import Base from ..main import app, get_db SQLALCHEMY_DATABASE_URL = "sqlite:///./test.db" engine = create_engine( SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False} ) TestingSessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 1.2K bytes - Viewed (0) -
docs/en/docs/project-generation.md
- ๐งฐ [SQLModel](https://sqlmodel.tiangolo.com) for the Python SQL database interactions (ORM). - ๐ [Pydantic](https://docs.pydantic.dev), used by FastAPI, for the data validation and settings management. - ๐พ [PostgreSQL](https://www.postgresql.org) as the SQL database. - ๐ [React](https://react.dev) for the frontend.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 21 21:12:21 GMT 2024 - 1.8K bytes - Viewed (0) -
docs/LICENSE
contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. For the avoidance of doubt, this Section 4 supplements and does not
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon May 10 16:50:06 GMT 2021 - 18.2K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
For example, if you need to store it in a database. For that, **FastAPI** provides a `jsonable_encoder()` function. ## Using the `jsonable_encoder` Let's imagine that you have a database `fake_db` that only receives JSON compatible data. For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 1.8K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/models.py
import peewee from .database import db class User(peewee.Model): email = peewee.CharField(unique=True, index=True) hashed_password = peewee.CharField() is_active = peewee.BooleanField(default=True) class Meta: database = db class Item(peewee.Model): title = peewee.CharField(index=True) description = peewee.CharField(index=True) owner = peewee.ForeignKeyField(User, backref="items")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 465 bytes - Viewed (0) -
docs/zh/docs/tutorial/sql-databases.md
---> 100% ``` </div> ## ๅๅปบ SQLAlchemy ้จไปถ ่ฎฉๆไปฌ่ฝฌๅฐๆไปถ`sql_app/database.py`ใ ### ๅฏผๅ ฅ SQLAlchemy ้จไปถ ```Python hl_lines="1-3" {!../../../docs_src/sql_databases/sql_app/database.py!} ``` ### ไธบ SQLAlchemy ๅฎไนๆฐๆฎๅบ URLๅฐๅ ```Python hl_lines="5-6" {!../../../docs_src/sql_databases/sql_app/database.py!} ``` ๅจ่ฟไธชไพๅญไธญ๏ผๆไปฌๆญฃๅจโ่ฟๆฅโๅฐไธไธช SQLite ๆฐๆฎๅบ๏ผ็จ SQLite ๆฐๆฎๅบๆๅผไธไธชๆไปถ๏ผใ
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 27K bytes - Viewed (0) -
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) -
docs_src/sql_databases/sql_app_py39/tests/test_sql_app.py
from fastapi.testclient import TestClient from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from ..database import Base from ..main import app, get_db SQLALCHEMY_DATABASE_URL = "sqlite:///./test.db" engine = create_engine( SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False} ) TestingSessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 1.2K bytes - Viewed (0) -
docs_src/sql_databases/sql_app/tests/test_sql_app.py
from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from sqlalchemy.pool import StaticPool from ..database import Base from ..main import app, get_db SQLALCHEMY_DATABASE_URL = "sqlite://" engine = create_engine( SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False}, poolclass=StaticPool, )
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jun 22 11:20:12 GMT 2023 - 1.2K bytes - Viewed (0) -
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)