Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tortoise/tortoise-orm
/ functions
Functions
3,850 in github.com/tortoise/tortoise-orm
⨍
Functions
3,850
◇
Types & classes
935
↳
Endpoints
102
↓ 1 callers
Method
savepoint
(self)
tortoise/backends/base/client.py:269
↓ 1 callers
Method
savepoint_rollback
(self)
tortoise/backends/base/client.py:275
↓ 1 callers
Method
serialize_value
(cls, value: Any)
tortoise/contrib/mysql/json_functions.py:26
↓ 1 callers
Function
set_global_context
Set the global fallback context for cross-task access. This is used by RegisterTortoise (FastAPI) where asgi-lifespan runs lifespan in a
tortoise/context.py:71
↓ 1 callers
Function
shell
Launch an interactive shell with Tortoise ORM context. Prefers IPython if available, falls back to ptpython. Requires at least one shell prov
tortoise/cli/cli.py:377
↓ 1 callers
Function
skip_if_not_postgres
Skip test if not running against PostgreSQL.
tests/contrib/postgres/test_tsvector_field.py:8
↓ 1 callers
Function
slugify_migration_name
(value: str)
tortoise/migrations/writer.py:46
↓ 1 callers
Method
sort_alphabetically
(self)
tortoise/contrib/pydantic/creator.py:89
↓ 1 callers
Method
sort_definition_order
(self, cls: type[Model], computed: tuple[str, ...])
tortoise/contrib/pydantic/creator.py:92
↓ 1 callers
Function
split_type_comment_args
(comment)
docs/sphinx_autodoc_typehints.py:335
↓ 1 callers
Function
sqlmigrate_cmd
( ctx: CLIContext, app_label: str | None, migration_name: str | None, backward: bool, )
tortoise/cli/cli.py:632
↓ 1 callers
Method
star_password
(connections_config)
tortoise/__init__.py:448
↓ 1 callers
Method
state_forward
(self, app_label: str, state: State)
tortoise/migrations/operations.py:98
↓ 1 callers
Method
state_forward
(self, app_label: str, state: State)
tortoise/migrations/operations.py:373
↓ 1 callers
Method
to_config
(self)
tortoise/config.py:18
↓ 1 callers
Method
to_python_value
(self, value: Any)
tortoise/fields/data.py:463
↓ 1 callers
Method
to_python_value
(self, value: Any)
tortoise/fields/data.py:597
↓ 1 callers
Function
transaction
()
tests/test_concurrency.py:168
↓ 1 callers
Function
union_annotation
(x: str, y: str)
tests/utils/test_describe_model.py:34
↓ 1 callers
Function
upgrade
( ctx: CLIContext, app_label: str | None, migration: str | None, fake: bool, dry_run: bool
tortoise/cli/cli.py:557
↓ 1 callers
Function
validate_ipv4_address
A validator to validate whether the given value is valid IPv4Address or not. :raises ValidationError: if value is invalid IPv4Address.
tortoise/validators.py:120
↓ 1 callers
Function
validate_ipv6_address
A validator to validate whether the given value is valid IPv6Address or not. :raises ValidationError: if value is invalid IPv6Address.
tortoise/validators.py:133
↓ 1 callers
Function
wrapper
(func: AsyncFunc, ms: list[str])
tortoise/contrib/test/__init__.py:284
Function
ForeignKeyField
( to: type[Model] | str, related_name: str | None | Literal[False] = None, on_delete: OnDelete = C
tortoise/fields/relational.py:512
Method
GENERATED_SQL
(self)
tortoise/contrib/postgres/fields.py:89
Method
MY_PROPERTY
(self)
tests/benchmarks/test_field_attribute_lookup.py:6
Method
MY_PROPERTY
(self)
tests/benchmarks/test_field_attribute_lookup.py:16
Function
OneToOneField
( to: type[Model] | str, related_name: str | None | Literal[False] = None, on_delete: OnDelete = C
tortoise/fields/relational.py:437
Method
SQL_TYPE
(self)
tortoise/contrib/postgres/fields.py:99
Method
SQL_TYPE
(self)
tortoise/fields/data.py:247
Method
SQL_TYPE
(self)
tortoise/fields/data.py:255
Method
SQL_TYPE
(self)
tortoise/fields/data.py:389
Method
__add__
(self, other)
tortoise/expressions.py:191
Method
__add__
(self, other: SearchVectorCombinable)
tortoise/contrib/postgres/search.py:104
Method
__aenter__
(self)
tortoise/backends/oracle/client.py:113
Method
__aenter__
(self)
tortoise/backends/base/client.py:316
Method
__aenter__
(self)
tortoise/backends/base/client.py:339
Method
__aenter__
(self)
tortoise/backends/base/client.py:372
Method
__aenter__
(self)
tortoise/backends/base/client.py:403
Method
__aenter__
(self)
tortoise/backends/sqlite/client.py:194
Method
__aexit__
(self, *args, **kw)
tortoise/contrib/fastapi/__init__.py:198
Method
__aexit__
(self, exc_type: Any, exc_val: Any, exc_tb: Any)
tortoise/backends/base/client.py:319
Method
__aexit__
(self, exc_type: Any, exc_val: Any, exc_tb: Any)
tortoise/backends/base/client.py:350
Method
__aexit__
(self, exc_type: Any, exc_val: Any, exc_tb: Any)
tortoise/backends/base/client.py:376
Method
__aexit__
(self, exc_type: Any, exc_val: Any, exc_tb: Any)
tortoise/backends/base/client.py:409
Method
__aexit__
(self, exc_type: Any, exc_val: Any, exc_tb: Any)
tortoise/backends/sqlite/client.py:201
Method
__aiter__
(self)
tortoise/queryset.py:1250
Method
__aiter__
(self: ValuesListQuery[Any])
tortoise/queryset.py:1737
Method
__aiter__
(self: ValuesQuery[Any])
tortoise/queryset.py:1867
Method
__aiter__
(self)
tortoise/fields/relational.py:86
Method
__and__
(self, other: Criterion)
tortoise/query_utils.py:168
Method
__and__
(self, other: QueryModifier)
tortoise/query_utils.py:202
Method
__and__
Returns a binary AND of Q objects, use ``AND`` operator. :raises OperationalError: AND operation requires a Q node
tortoise/expressions.py:292
Method
__and__
(self, other: SearchQueryCombinable)
tortoise/contrib/postgres/search.py:196
Method
__and__
(self, other: LexemeCombinable)
tortoise/contrib/postgres/search.py:408
Method
__await__
(self)
tortoise/queryset.py:61
Method
__await__
(self)
tortoise/queryset.py:1348
Method
__await__
(self)
tortoise/queryset.py:1397
Method
__await__
(self)
tortoise/queryset.py:1443
Method
__await__
(self)
tortoise/queryset.py:1503
Method
__await__
( self: ValuesListQuery[Literal[False]], )
tortoise/queryset.py:1723
Method
__await__
( self: ValuesQuery[Literal[False]], )
tortoise/queryset.py:1851
Method
__await__
(self)
tortoise/queryset.py:1913
Method
__await__
(self)
tortoise/queryset.py:1999
Method
__await__
(self)
tortoise/queryset.py:2195
Method
__await__
(self: MODEL)
tortoise/models.py:1772
Method
__await__
(self)
tortoise/contrib/fastapi/__init__.py:201
Method
__await__
(self)
tortoise/fields/relational.py:83
Method
__bool__
(self)
tortoise/query_utils.py:171
Method
__bool__
(self)
tortoise/fields/base.py:37
Method
__bool__
Returns False so that ``if instance.field:`` is falsy for unset db_default fields. This is consistent with "no value has been set yet". Users
tortoise/fields/base.py:66
Method
__bool__
(self)
tortoise/fields/relational.py:26
Method
__bool__
(self)
tortoise/fields/relational.py:75
Method
__call__
All specific validators should implement this method. :param value: The given value to be validated. :raises ValidationError
tortoise/validators.py:14
Method
__call__
(self, value: Any)
tortoise/validators.py:31
Method
__call__
(self, value: str)
tortoise/validators.py:44
Method
__call__
(self, value: str)
tortoise/validators.py:59
Method
__call__
(self, value: int | float | Decimal)
tortoise/validators.py:83
Method
__call__
(self, value: int | float | Decimal)
tortoise/validators.py:98
Method
__call__
(self, value: str)
tortoise/validators.py:116
Method
__call__
(self, *args, **kwargs)
tortoise/contrib/fastapi/__init__.py:191
Method
__contains__
(self, key: str)
tortoise/apps.py:329
Method
__contains__
(self, item: Any)
tortoise/fields/relational.py:63
Method
__copy__
(self)
tortoise/fields/base.py:291
Method
__delitem__
(self, __key: str)
tortoise/contrib/pydantic/creator.py:74
Method
__enter__
(self)
tests/test_version.py:26
Method
__eq__
(self, other: object)
tortoise/expressions.py:320
Method
__eq__
(self, other: object)
tortoise/models.py:875
Method
__eq__
(self, other: Any)
tortoise/indexes.py:137
Method
__eq__
(self, other: Any)
tortoise/contrib/test/condition.py:12
Method
__eq__
(self, other: Any)
tortoise/contrib/test/condition.py:23
Method
__eq__
(self, other: Any)
tortoise/contrib/test/condition.py:34
Method
__eq__
(self, other: object)
tortoise/migrations/graph.py:27
Method
__eq__
(self, other: object)
tortoise/fields/db_defaults.py:36
Method
__eq__
(self, other: object)
tortoise/fields/db_defaults.py:97
Method
__exit__
(self, *excinfo)
tests/test_version.py:30
Method
__get__
(self, obj: Any, objtype: type | None = None)
tortoise/__init__.py:50
Method
__get__
(self, instance: None, owner: type[Model])
tortoise/fields/relational.py:283
Method
__getattr__
Delegate attribute access to the current context's ConnectionHandler.
tortoise/connection.py:301
Method
__getattr__
(self, item: str)
tortoise/manager.py:21
← previous
next →
901–1,000 of 3,850, ranked by callers