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
_check_field_name_conflicts
(fields_map: dict[str, Field], name: str)
tortoise/models.py:673
↓ 1 callers
Method
_check_loop
Check if the current event loop matches the one this client was created on.
tortoise/backends/base/client.py:136
↓ 1 callers
Method
_clear_storage
Clear all connections from storage in the current context.
tortoise/connection.py:76
↓ 1 callers
Method
_close
(self)
tortoise/backends/mysql/client.py:157
↓ 1 callers
Method
_close
(self)
tortoise/backends/base_postgres/client.py:108
↓ 1 callers
Method
_column_comment_generator
(self, table: str, column: str, comment: str)
tortoise/backends/base/schema_generator.py:101
↓ 1 callers
Method
_construct_field_map
(self)
tortoise/contrib/pydantic/creator.py:319
↓ 1 callers
Function
_create_json_criterion
( key_parts: list[str | int], field_term: Term, operator_: Callable, value: Any )
tortoise/contrib/postgres/json_functions.py:78
↓ 1 callers
Method
_create_model_operation
(self, model_state: ModelState)
tortoise/migrations/schema_generator/operation_generator.py:56
↓ 1 callers
Method
_create_submodel
Create a Pydantic submodel with recursion protection against cyclic references.
tortoise/contrib/pydantic/creator.py:533
↓ 1 callers
Method
_dedupe_plan
(self, plan: list[PlanStep])
tortoise/migrations/executor.py:342
↓ 1 callers
Method
_dependencies_for_app
(self, app_label: str, new_state: State)
tortoise/migrations/autodetector.py:109
↓ 1 callers
Method
_describe_index
( cls, index: Index | tuple[str, ...], serializable: bool )
tortoise/models.py:1685
↓ 1 callers
Method
_discover_models
(models_path: ModuleType | str, app_label: str)
tortoise/apps.py:45
↓ 1 callers
Method
_dispatch_fields
( attrs: dict, fields_db_projection: dict, is_abstract: bool )
tortoise/models.py:629
↓ 1 callers
Method
_do_prefetch
( self, instance_id_list: Iterable[Model], field: str, related_query: tuple[st
tortoise/backends/base/executor.py:711
↓ 1 callers
Method
_drop_default_constraint
( self, table_name: str, column_name: str, schema: str | None = None )
tortoise/migrations/schema_editor/mssql.py:173
↓ 1 callers
Function
_emit_heads
( loader: MigrationLoader, connection_name: str, apps_config: dict[str, dict[str, Any]], )
tortoise/cli/cli.py:316
↓ 1 callers
Function
_emit_history
( applied: list[MigrationKey], connection_name: str, apps_config: dict[str, dict[str, Any]], )
tortoise/cli/cli.py:296
↓ 1 callers
Method
_escape_default_value
(self, default: Any)
tortoise/backends/base/schema_generator.py:96
↓ 1 callers
Function
_escape_unicode
escapes *value* without adding quote. Value should be unicode
tortoise/converters.py:20
↓ 1 callers
Method
_execute
(self)
tortoise/queryset.py:1254
↓ 1 callers
Method
_execute
(self)
tortoise/queryset.py:1353
↓ 1 callers
Method
_execute
(self)
tortoise/queryset.py:1402
↓ 1 callers
Method
_execute
( self, )
tortoise/queryset.py:1448
↓ 1 callers
Method
_execute
(self)
tortoise/queryset.py:1508
↓ 1 callers
Method
_execute
(self)
tortoise/queryset.py:1741
↓ 1 callers
Method
_execute
(self)
tortoise/queryset.py:1871
↓ 1 callers
Method
_execute
(self)
tortoise/queryset.py:1906
↓ 1 callers
Method
_execute_many
(self, queries_with_params: list[tuple[str, list[Any]]])
tortoise/queryset.py:1993
↓ 1 callers
Method
_execute_many
( self, insert_sql: str, insert_sql_all: str, effective_columns: list[str],
tortoise/queryset.py:2147
↓ 1 callers
Function
_first_models_module
(models: Iterable[ModuleType | str] | str | None)
tortoise/cli/utils.py:141
↓ 1 callers
Method
_format_create_model
( self, operation: CreateModel, imports: ImportManager, *, indent: str )
tortoise/migrations/writer.py:475
↓ 1 callers
Function
_format_headline_option_value
(value: HeadlineOptionValue)
tortoise/contrib/postgres/search.py:324
↓ 1 callers
Method
_format_index_fields
(self, field_names: Sequence[str])
tortoise/backends/base/schema_generator.py:144
↓ 1 callers
Method
_format_index_fields
(self, field_names: list[str])
tortoise/migrations/schema_editor/base.py:181
↓ 1 callers
Method
_format_operation
( self, operation: Operation, imports: ImportManager, *, indent: str )
tortoise/migrations/writer.py:316
↓ 1 callers
Function
_format_steps
(steps: list[PlanStep], connection_name: str)
tortoise/migrations/api/plan.py:57
↓ 1 callers
Method
_full_plan
(self)
tortoise/migrations/autodetector.py:98
↓ 1 callers
Function
_gen_savepoint_name
(_c=count())
tortoise/backends/mssql/client.py:87
↓ 1 callers
Function
_gen_savepoint_name
(_c=count())
tortoise/backends/mysql/client.py:307
↓ 1 callers
Function
_gen_savepoint_name
(_c=count())
tortoise/backends/sqlite/client.py:276
↓ 1 callers
Method
_generate_constraint_operations
(self)
tortoise/migrations/schema_generator/state_diff.py:206
↓ 1 callers
Method
_generate_db_fields
(self)
tortoise/models.py:473
↓ 1 callers
Method
_generate_filters
(self)
tortoise/models.py:492
↓ 1 callers
Method
_generate_index_operations
(self)
tortoise/migrations/schema_generator/state_diff.py:147
↓ 1 callers
Method
_generate_lazy_fk_m2m_fields
(self)
tortoise/models.py:360
↓ 1 callers
Method
_generated_field_recreate_ops
( self, field_name: str, field: Field )
tortoise/migrations/schema_generator/state_diff.py:321
↓ 1 callers
Method
_get_actual_filter_params
( self, resolve_context: ResolveContext, key: str, value: Table | FilterInfoDict )
tortoise/expressions.py:432
↓ 1 callers
Function
_get_available_shell_provider
()
tortoise/cli/cli.py:69
↓ 1 callers
Function
_get_comments
Get comments exactly before attributes It can be multiline comment. The placeholder "{model}" will be replaced with the name of the mode
tortoise/models.py:148
↓ 1 callers
Method
_get_config_from_config_file
Load configuration from a JSON or YAML file.
tortoise/context.py:239
↓ 1 callers
Function
_get_connection
(connection_name: str | None)
tortoise/transactions.py:18
↓ 1 callers
Function
_get_engine
Get the current test engine.
tests/model_setup/test__models__.py:30
↓ 1 callers
Method
_get_escape_translation_table
escape sequence taken based on definition provided by PostgreSQL and MySQL
tortoise/backends/base/schema_generator.py:113
↓ 1 callers
Method
_get_escape_translation_table
(cls)
tortoise/migrations/schema_editor/base.py:135
↓ 1 callers
Method
_get_field_indexes_sqls
( self, model: type[Model], field_names: Sequence[str], safe: bool )
tortoise/backends/base/schema_generator.py:298
↓ 1 callers
Method
_get_field_sql_and_related_table
( self, field_object: Field, table_name: str, column_name: str, defaul
tortoise/backends/base/schema_generator.py:239
↓ 1 callers
Method
_get_fk_name
(self, from_table: str, from_field: str, to_table: str, to_field: str)
tortoise/backends/base/schema_generator.py:167
↓ 1 callers
Method
_get_function_field
(self, field: Term | str, *default_values)
tortoise/expressions.py:545
↓ 1 callers
Method
_get_generated_sql
(self)
tortoise/contrib/postgres/fields.py:52
↓ 1 callers
Method
_get_inner_statements
(self)
tortoise/backends/base/schema_generator.py:134
↓ 1 callers
Method
_get_inner_statements
(self)
tortoise/migrations/schema_editor/base.py:223
↓ 1 callers
Method
_get_m2m_tables
( self, model: type[Model], db_table: str, safe: bool, models_tables: list[str] )
tortoise/backends/base/schema_generator.py:318
↓ 1 callers
Method
_get_pk_create_sql
(self, field_object: Field, column_name: str, comment: str)
tortoise/backends/base/schema_generator.py:221
↓ 1 callers
Method
_get_schema_create_sql
(self, schema: str, safe: bool)
tortoise/backends/base/schema_generator.py:137
↓ 1 callers
Function
_get_sql_context
(db: BaseDBAsyncClient)
tortoise/query_api.py:109
↓ 1 callers
Method
_get_table_comment_sql
(self, table: str, comment: str)
tortoise/migrations/schema_editor/mysql.py:53
↓ 1 callers
Method
_get_unique_constraint_name
(self, model: type[Model], field_names: list[str])
tortoise/migrations/schema_editor/base.py:193
↓ 1 callers
Method
_get_unique_constraint_sql
(self, model: type[Model], field_names: Sequence[str])
tortoise/backends/base/schema_generator.py:208
↓ 1 callers
Method
_get_unique_constraint_sql
(self, model: type[Model], field_names: list[str])
tortoise/migrations/schema_editor/base.py:187
↓ 1 callers
Method
_get_unique_index_sql
( self, exists: str, table_name: str, field_names: Sequence[str], sche
tortoise/backends/base/schema_generator.py:191
↓ 1 callers
Method
_get_unique_index_sql
( self, table_name: str, field_names: list[str], schema: str | None = None )
tortoise/migrations/schema_editor/mysql.py:115
↓ 1 callers
Method
_getbypk
(cls: type[MODEL], key: Any)
tortoise/models.py:912
↓ 1 callers
Method
_in_transaction
(self)
tortoise/backends/mssql/client.py:60
↓ 1 callers
Method
_init_routers
Initialize database routers for this context.
tortoise/context.py:379
↓ 1 callers
Method
_init_timezone
Initialize timezone settings for this context.
tortoise/context.py:370
↓ 1 callers
Method
_initialize_field_map
(self)
tortoise/contrib/pydantic/creator.py:312
↓ 1 callers
Method
_initialize_pconfig
(self)
tortoise/contrib/pydantic/creator.py:302
↓ 1 callers
Function
_is_asyncpg
(db)
tests/test_query_api.py:172
↓ 1 callers
Method
_is_index_expression
(field: str)
tortoise/backends/base/schema_generator.py:141
↓ 1 callers
Method
_is_index_expression
(field: str)
tortoise/migrations/schema_editor/base.py:178
↓ 1 callers
Function
_is_mysql
(db)
tests/test_query_api.py:180
↓ 1 callers
Function
_is_odbc
(db)
tests/test_query_api.py:184
↓ 1 callers
Method
_join_select_related
(self, lookup_expression: str)
tortoise/queryset.py:1075
↓ 1 callers
Function
_launch_ipython_shell
Launch IPython shell synchronously. IPython manages its own event loop for autoawait, so this must be called from a synchronous context to av
tortoise/cli/cli.py:77
↓ 1 callers
Function
_launch_ptpython_shell
Launch ptpython shell asynchronously. Args: namespace: The namespace dict to make available in the shell
tortoise/cli/cli.py:119
↓ 1 callers
Method
_load_from_config
(self)
tortoise/apps.py:88
↓ 1 callers
Function
_load_version
()
tests/test_version.py:34
↓ 1 callers
Function
_make_create_model_op
(i: int)
tests/migrations/test_state_performance.py:17
↓ 1 callers
Function
_make_create_model_op
(i: int)
tests/benchmarks/test_state_building.py:16
↓ 1 callers
Method
_make_model
(self, table_name: str)
tortoise/migrations/recorder.py:28
↓ 1 callers
Method
_make_prefetch_queries
(self)
tortoise/backends/base/executor.py:697
↓ 1 callers
Method
_make_query
(self)
tortoise/queryset.py:314
↓ 1 callers
Method
_make_query
(self)
tortoise/queryset.py:1304
↓ 1 callers
Method
_make_query
(self)
tortoise/queryset.py:1383
↓ 1 callers
Method
_make_query
(self)
tortoise/queryset.py:1430
↓ 1 callers
Method
_make_query
(self)
tortoise/queryset.py:1485
↓ 1 callers
Method
_make_query
(self)
tortoise/queryset.py:1691
↓ 1 callers
Method
_make_query
(self)
tortoise/queryset.py:1813
← previous
next →
601–700 of 3,850, ranked by callers