MCPcopy Create free account

hub / github.com/tortoise/tortoise-orm / functions

Functions3,850 in github.com/tortoise/tortoise-orm

↓ 1 callersMethodsavepoint
(self)
tortoise/backends/base/client.py:269
↓ 1 callersMethodsavepoint_rollback
(self)
tortoise/backends/base/client.py:275
↓ 1 callersMethodserialize_value
(cls, value: Any)
tortoise/contrib/mysql/json_functions.py:26
↓ 1 callersFunctionset_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 callersFunctionshell
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 callersFunctionskip_if_not_postgres
Skip test if not running against PostgreSQL.
tests/contrib/postgres/test_tsvector_field.py:8
↓ 1 callersFunctionslugify_migration_name
(value: str)
tortoise/migrations/writer.py:46
↓ 1 callersMethodsort_alphabetically
(self)
tortoise/contrib/pydantic/creator.py:89
↓ 1 callersMethodsort_definition_order
(self, cls: type[Model], computed: tuple[str, ...])
tortoise/contrib/pydantic/creator.py:92
↓ 1 callersFunctionsplit_type_comment_args
(comment)
docs/sphinx_autodoc_typehints.py:335
↓ 1 callersFunctionsqlmigrate_cmd
( ctx: CLIContext, app_label: str | None, migration_name: str | None, backward: bool, )
tortoise/cli/cli.py:632
↓ 1 callersMethodstar_password
(connections_config)
tortoise/__init__.py:448
↓ 1 callersMethodstate_forward
(self, app_label: str, state: State)
tortoise/migrations/operations.py:98
↓ 1 callersMethodstate_forward
(self, app_label: str, state: State)
tortoise/migrations/operations.py:373
↓ 1 callersMethodto_config
(self)
tortoise/config.py:18
↓ 1 callersMethodto_python_value
(self, value: Any)
tortoise/fields/data.py:463
↓ 1 callersMethodto_python_value
(self, value: Any)
tortoise/fields/data.py:597
↓ 1 callersFunctiontransaction
()
tests/test_concurrency.py:168
↓ 1 callersFunctionunion_annotation
(x: str, y: str)
tests/utils/test_describe_model.py:34
↓ 1 callersFunctionupgrade
( ctx: CLIContext, app_label: str | None, migration: str | None, fake: bool, dry_run: bool
tortoise/cli/cli.py:557
↓ 1 callersFunctionvalidate_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 callersFunctionvalidate_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 callersFunctionwrapper
(func: AsyncFunc, ms: list[str])
tortoise/contrib/test/__init__.py:284
FunctionForeignKeyField
( to: type[Model] | str, related_name: str | None | Literal[False] = None, on_delete: OnDelete = C
tortoise/fields/relational.py:512
MethodGENERATED_SQL
(self)
tortoise/contrib/postgres/fields.py:89
MethodMY_PROPERTY
(self)
tests/benchmarks/test_field_attribute_lookup.py:6
MethodMY_PROPERTY
(self)
tests/benchmarks/test_field_attribute_lookup.py:16
FunctionOneToOneField
( to: type[Model] | str, related_name: str | None | Literal[False] = None, on_delete: OnDelete = C
tortoise/fields/relational.py:437
MethodSQL_TYPE
(self)
tortoise/contrib/postgres/fields.py:99
MethodSQL_TYPE
(self)
tortoise/fields/data.py:247
MethodSQL_TYPE
(self)
tortoise/fields/data.py:255
MethodSQL_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
← previousnext →901–1,000 of 3,850, ranked by callers