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
Method
__getitem__
Query offset and limit for Queryset. :raises ParamsError: QuerySet indices must be slices. :raises ParamsError: Slice steps
tortoise/queryset.py:545
Method
__getitem__
(cls: type[MODEL], key: Any)
tortoise/models.py:716
Method
__getitem__
(self, key: str)
tortoise/apps.py:344
Method
__getitem__
(self, __key: str)
tortoise/contrib/pydantic/creator.py:77
Method
__getitem__
(self, item: int)
tortoise/migrations/graph.py:40
Method
__getitem__
(self, item: int)
tortoise/fields/relational.py:79
Method
__hash__
(self)
tortoise/models.py:866
Method
__hash__
(self)
tortoise/indexes.py:134
Method
__hash__
(self)
tortoise/migrations/graph.py:37
Method
__hash__
(self)
tortoise/fields/db_defaults.py:39
Method
__hash__
(self)
tortoise/fields/db_defaults.py:100
Method
__init__
(self)
tortoise/context.py:148
Method
__init__
(self, left, right, alias=None, escape=" ESCAPE '\\'")
tortoise/filters.py:47
Method
__init__
( self, where_criterion: Criterion | None = None, joins: list[TableCriterionTuple] | N
tortoise/query_utils.py:192
Method
__init__
(self, relation: str, queryset: QuerySet, to_attr: str | None = None)
tortoise/query_utils.py:245
Method
__init__
(self)
tortoise/connection.py:42
Method
__init__
(self, value: Any)
tortoise/expressions.py:71
Method
__init__
(self, left: Expression, connector: Connector, right: Any)
tortoise/expressions.py:88
Method
__init__
(self, query: AwaitableQuery)
tortoise/expressions.py:229
Method
__init__
(self, sql: str)
tortoise/expressions.py:245
Method
__init__
(self, *args: Q, join_type: str = AND, **kwargs: Any)
tortoise/expressions.py:275
Method
__init__
( self, field: str | F | CombinedExpression | Function | Term, *default_values: Any )
tortoise/expressions.py:538
Method
__init__
( self, field: str | F | CombinedExpression, *default_values: Any, distinct: b
tortoise/expressions.py:613
Method
__init__
(self, when: Term, then: Term)
tortoise/expressions.py:645
Method
__init__
( self, *args: Q, then: str | F | CombinedExpression | Function, negate: bool
tortoise/expressions.py:660
Method
__init__
( self, *args: When, default: str | F | CombinedExpression | Function | None = None,
tortoise/expressions.py:712
Method
__init__
(self, model: type[MODEL])
tortoise/queryset.py:96
Method
__init__
( self, model: type[MODEL], update_kwargs: dict[str, Any], db: BaseDBAsyncClie
tortoise/queryset.py:1284
Method
__init__
( self, model: type[MODEL], db: BaseDBAsyncClient, q_objects: list[Q],
tortoise/queryset.py:1365
Method
__init__
( self, model: type[MODEL], db: BaseDBAsyncClient, q_objects: list[Q],
tortoise/queryset.py:1412
Method
__init__
( self, model: type[MODEL], db: BaseDBAsyncClient, q_objects: list[Q],
tortoise/queryset.py:1463
Method
__init__
(self, model: type[MODEL], annotations: dict[str, Any])
tortoise/queryset.py:1521
Method
__init__
( self, model: type[MODEL], db: BaseDBAsyncClient, q_objects: list[Q],
tortoise/queryset.py:1647
Method
__init__
( self, model: type[MODEL], db: BaseDBAsyncClient, q_objects: list[Q],
tortoise/queryset.py:1780
Method
__init__
(self, model: type[MODEL], db: BaseDBAsyncClient, sql: str)
tortoise/queryset.py:1901
Method
__init__
( self, model: type[MODEL], db: BaseDBAsyncClient, q_objects: list[Q],
tortoise/queryset.py:1921
Method
__init__
( self, model: type[MODEL], db: BaseDBAsyncClient, objects: Iterable[MODEL],
tortoise/queryset.py:2021
Method
__init__
(self, model: type[Model] | str, *args)
tortoise/exceptions.py:60
Method
__init__
(self, model: type[Model], pk_name: str, pk_val: Any)
tortoise/exceptions.py:88
Method
__init__
(self, func: Callable[..., Any])
tortoise/__init__.py:47
Method
__init__
(self, pattern: str, flags: int | re.RegexFlag)
tortoise/validators.py:28
Method
__init__
(self, max_length: int)
tortoise/validators.py:41
Method
__init__
(self, min_length: int)
tortoise/validators.py:56
Method
__init__
(self, min_value: int | float | Decimal)
tortoise/validators.py:79
Method
__init__
(self, max_value: int | float | Decimal)
tortoise/validators.py:94
Method
__init__
(self, allow_negative: bool = False)
tortoise/validators.py:109
Method
__init__
(self, meta: Model.Meta)
tortoise/models.py:222
Method
__init__
(self, **kwargs: Any)
tortoise/models.py:734
Method
__init__
( self, config: dict[str, dict[str, Any]] | None, connections: ConnectionHandler,
tortoise/apps.py:28
Method
__init__
( self, *expressions: Term | Expression, fields: tuple[str, ...] | list[str] | None =
tortoise/indexes.py:142
Method
__init__
(self, model=None)
tortoise/manager.py:15
Method
__init__
(self)
tortoise/router.py:14
Method
__init__
( self, source_fields: Sequence[str] | str | None = None, config: str | None = None,
tortoise/contrib/postgres/fields.py:14
Method
__init__
(self, field: TSVectorField)
tortoise/contrib/postgres/fields.py:85
Method
__init__
(self, field: Term)
tortoise/contrib/postgres/functions.py:9
Method
__init__
(self, field: Term)
tortoise/contrib/postgres/functions.py:18
Method
__init__
(self, field: Term)
tortoise/contrib/postgres/functions.py:27
Method
__init__
(self, field: Term, expr: Term | str, vectorize: bool = True)
tortoise/contrib/postgres/search.py:32
Method
__init__
(self, left: Term, operator: str, right: Term)
tortoise/contrib/postgres/search.py:39
Method
__init__
(self, term: Term)
tortoise/contrib/postgres/search.py:59
Method
__init__
( self, *expressions: VectorInput, config: ConfigInput | None = None, weight:
tortoise/contrib/postgres/search.py:112
Method
__init__
(self, left: SearchVectorCombinable, right: SearchVectorCombinable)
tortoise/contrib/postgres/search.py:162
Method
__init__
( self, value: QueryInput, config: ConfigInput | None = None, search_type: str
tortoise/contrib/postgres/search.py:211
Method
__init__
( self, left: SearchQueryCombinable, operator: str, right: SearchQueryCombinable )
tortoise/contrib/postgres/search.py:261
Method
__init__
( self, vector: VectorInput, query: QueryInput, weights: RankWeightInput | Non
tortoise/contrib/postgres/search.py:276
Method
__init__
( self, expression: HeadlineExpressionInput, query: QueryInput, config: Config
tortoise/contrib/postgres/search.py:333
Method
__init__
(self, left: LexemeCombinable, operator: str, right: LexemeCombinable)
tortoise/contrib/postgres/search.py:466
Method
__init__
(self, meta: PydanticMetaData, pk_field: Field | None = None)
tortoise/contrib/pydantic/creator.py:66
Method
__init__
( self, cls: type[Model], name: str | None = None, exclude: tuple[str, ...] |
tortoise/contrib/pydantic/creator.py:185
Method
__init__
( self, app: FastAPI | None = None, config: dict | TortoiseConfig | None = None,
tortoise/contrib/fastapi/__init__.py:119
Method
__init__
(self, value: Any)
tortoise/contrib/test/condition.py:7
Method
__init__
(self, *args: Any)
tortoise/contrib/test/condition.py:31
Method
__init__
(self, column_name: Term, target_list: Term)
tortoise/contrib/mysql/json_functions.py:16
Method
__init__
(self, binary_compression: bool = True, **kwargs: Any)
tortoise/contrib/mysql/fields.py:34
Method
__init__
(self, seed: int | None = None, alias=None)
tortoise/contrib/mysql/functions.py:13
Method
__init__
( self, *expressions: Term, fields: tuple[str, ...] | None = None, name: str |
tortoise/contrib/mysql/indexes.py:11
Method
__init__
(self, expr: Term, mode: Mode | None = None)
tortoise/contrib/mysql/search.py:29
Method
__init__
(self, *columns: Term, expr: Term, mode: Mode | None = None)
tortoise/contrib/mysql/search.py:44
Method
__init__
(self, alias=None)
tortoise/contrib/sqlite/functions.py:11
Method
__init__
(self)
tortoise/cli/cli.py:161
Method
__init__
( self, *, user: str, password: str, host: str, port: Supports
tortoise/backends/oracle/client.py:43
Method
__init__
(self, client: OracleClient)
tortoise/backends/oracle/schema_generator.py:36
Method
__init__
(self, connection: ODBCClient)
tortoise/backends/mssql/client.py:92
Method
__init__
(self, client: MSSQLClient)
tortoise/backends/mssql/schema_generator.py:35
Method
__init__
( self, *, user: str, password: str, database: str, host: str,
tortoise/backends/mysql/client.py:78
Method
__init__
(self, connection: MySQLClient)
tortoise/backends/mysql/client.py:236
Method
__init__
(self, client: MySQLClient)
tortoise/backends/mysql/schema_generator.py:36
Method
__init__
( self, dialect: str, *, # Is the connection a Daemon? daemon: bool =
tortoise/backends/base/client.py:47
Method
__init__
(self, connection_name: str, fetch_inserted: bool = True, **kwargs: Any)
tortoise/backends/base/client.py:131
Method
__init__
(self, lock: asyncio.Lock, client: BaseDBAsyncClient)
tortoise/backends/base/client.py:290
Method
__init__
(self, client: TransactionalDBClient, pool_init_lock: asyncio.Lock)
tortoise/backends/base/client.py:327
Method
__init__
(self, client: TransactionalDBClient)
tortoise/backends/base/client.py:368
Method
__init__
(self, client: BaseDBAsyncClient, pool_init_lock: asyncio.Lock)
tortoise/backends/base/client.py:391
Method
__init__
( self, model: type[Model], db: BaseDBAsyncClient, prefetch_map: dict[str, set
tortoise/backends/base/executor.py:44
Method
__init__
(self, client: BaseDBAsyncClient)
tortoise/backends/base/schema_generator.py:43
Method
__init__
( self, **kwargs: Any, )
tortoise/backends/odbc/client.py:58
Method
__init__
(self, connection: ODBCClient)
tortoise/backends/odbc/client.py:169
Method
__init__
(self, connection: PsycopgClient)
tortoise/backends/psycopg/client.py:208
Method
__init__
(self, client: PsycopgClient)
tortoise/backends/psycopg/schema_generator.py:12
Method
__init__
(self, file_path: str, **kwargs: Any)
tortoise/backends/sqlite/client.py:67
← previous
next →
1,001–1,100 of 3,850, ranked by callers