MCPcopy Create free account

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

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

Functiontest_small_int_fields_values_list
(db)
tests/fields/test_int.py:123
Functiontest_sql_default_construction_and_get_sql
SqlDefault construction and get_sql.
tests/fields/test_db_default.py:536
Functiontest_sql_default_equality_and_hashing
SqlDefault equality and hashing.
tests/fields/test_db_default.py:570
Functiontest_sql_default_passes_field_validation
SqlDefault is not callable -- passes field validation.
tests/fields/test_db_default.py:599
Functiontest_sql_default_repr
SqlDefault repr.
tests/fields/test_db_default.py:585
Functiontest_sqlite_add_check_constraint_rebuilds_table
SQLite adds CHECK constraints by rebuilding the table.
tests/migrations/test_schema_editor_constraints.py:507
Functiontest_sqlite_add_field_unique_uses_index
()
tests/migrations/test_schema_editor_sqlite.py:22
Functiontest_sqlite_basic
()
tests/backends/test_db_url.py:20
Functiontest_sqlite_constraint_name_used_for_drop
()
tests/migrations/test_schema_editor_sqlite.py:38
Functiontest_sqlite_func_rand
(db, intfields)
tests/contrib/test_functions.py:42
Functiontest_sqlite_ignores_schema
SQLite ignores schema — table name has no schema prefix.
tests/migrations/test_schema_qualified_migrations.py:278
Functiontest_sqlite_introspection_finds_unique_index
SQLite introspection should find unique index by column using PRAGMA.
tests/migrations/test_schema_editor_constraints.py:229
Functiontest_sqlite_introspection_raises_with_fakeclient
SQLite _get_unique_constraint_names_from_db raises when FakeClient has no execute_query.
tests/migrations/test_schema_editor_constraints.py:219
Functiontest_sqlite_invalid
()
tests/backends/test_db_url.py:91
Functiontest_sqlite_no_db
()
tests/backends/test_db_url.py:32
Functiontest_sqlite_params
()
tests/backends/test_db_url.py:77
Functiontest_sqlite_relative
()
tests/backends/test_db_url.py:37
Functiontest_sqlite_relative_with_subdir
()
tests/backends/test_db_url.py:49
Functiontest_sqlite_remove_constraint_fallback_with_fakeclient
SQLite with FakeClient falls back to deterministic uid_ name.
tests/migrations/test_schema_editor_constraints.py:253
Functiontest_sqlite_schema_qualified_ignores_schema
SQLite should ignore Meta.schema and produce standard table names.
tests/schema/test_generate_schema.py:2041
Functiontest_sqlite_testing
()
tests/backends/test_db_url.py:61
Functiontest_ssl_custom
()
tests/backends/test_postgres.py:99
Functiontest_ssl_custom
Test SSL with custom context (may pass or fail depending on server).
tests/backends/test_mysql.py:69
Functiontest_ssl_true
()
tests/backends/test_postgres.py:79
Functiontest_ssl_true
Test that SSL=True with no cert raises ConnectionError.
tests/backends/test_mysql.py:46
Functiontest_state_apps_builds_relations_before_querysets
()
tests/migrations/test_state_generator.py:45
Functiontest_state_building_200_models
State building from 200 CreateModel operations with FK relations.
tests/benchmarks/test_state_building.py:47
Functiontest_state_building_performance_200_models
State building from 200 CreateModel operations must complete quickly.
tests/migrations/test_state_performance.py:50
Functiontest_state_clone_preserves_relations
Cloned state must have functional FK relations.
tests/migrations/test_state_performance.py:124
Functiontest_state_clone_produces_independent_copy
Cloned state must be fully independent from the original.
tests/migrations/test_state_performance.py:87
Functiontest_stduent__unfetched_iter
(db)
tests/fields/test_fk_with_unique.py:136
Functiontest_str
(tournament_model)
tests/test_model_methods.py:200
Functiontest_str
Test capabilities string representation.
tests/backends/test_capabilities.py:16
Methodtest_str
(self)
tests/test_db_default_insert.py:40
Functiontest_str_enum
(db)
tests/contrib/test_pydantic.py:2116
Functiontest_student__all
(db)
tests/fields/test_fk_with_unique.py:251
Functiontest_student__by_name__awaited
(db)
tests/fields/test_fk_with_unique.py:57
Functiontest_student__by_name__created_prefetched
(db)
tests/fields/test_fk_with_unique.py:32
Functiontest_student__by_name__re_awaited
(db)
tests/fields/test_fk_with_unique.py:48
Functiontest_student__by_name__unfetched
(db)
tests/fields/test_fk_with_unique.py:40
Functiontest_student__create_by_id
(db)
tests/fields/test_fk_with_unique.py:15
Functiontest_student__create_by_name
(db)
tests/fields/test_fk_with_unique.py:23
Functiontest_student__empty
(db)
tests/fields/test_fk_with_unique.py:9
Functiontest_student__fetched_bool
(db)
tests/fields/test_fk_with_unique.py:220
Functiontest_student__fetched_contains
(db)
tests/fields/test_fk_with_unique.py:196
Functiontest_student__fetched_getitem
(db)
tests/fields/test_fk_with_unique.py:230
Functiontest_student__fetched_iter
(db)
tests/fields/test_fk_with_unique.py:204
Functiontest_student__fetched_len
(db)
tests/fields/test_fk_with_unique.py:212
Functiontest_student__filter
(db)
tests/fields/test_fk_with_unique.py:241
Functiontest_student__instantiated_await
(db)
tests/fields/test_fk_with_unique.py:190
Functiontest_student__instantiated_create
(db)
tests/fields/test_fk_with_unique.py:177
Functiontest_student__instantiated_iterate
(db)
tests/fields/test_fk_with_unique.py:183
Functiontest_student__limit
(db)
tests/fields/test_fk_with_unique.py:268
Functiontest_student__unfetched_bool
(db)
tests/fields/test_fk_with_unique.py:157
Functiontest_student__unfetched_contains
(db)
tests/fields/test_fk_with_unique.py:126
Functiontest_student__unfetched_getitem
(db)
tests/fields/test_fk_with_unique.py:167
Functiontest_student__unfetched_len
(db)
tests/fields/test_fk_with_unique.py:147
Functiontest_student__uninstantiated_await
(db)
tests/fields/test_fk_with_unique.py:119
Functiontest_student__uninstantiated_create
(db)
tests/fields/test_fk_with_unique.py:104
Functiontest_student__uninstantiated_iterate
(db)
tests/fields/test_fk_with_unique.py:111
Functiontest_student_offset
(db)
tests/fields/test_fk_with_unique.py:277
Functiontest_student_order_by
(db)
tests/fields/test_fk_with_unique.py:259
Functiontest_subquery_filter
(db)
tests/test_queryset.py:782
Functiontest_subquery_select
(db)
tests/test_queryset.py:771
Functiontest_sum_filter_group_by
(db, group_by_data)
tests/test_group_by.py:89
Functiontest_sum_group_by
(db, group_by_data)
tests/test_group_by.py:61
Functiontest_sum_group_by_with_join
(db, group_by_data)
tests/test_group_by.py:76
Functiontest_sum_values_list_filter_group_by
(db, group_by_data)
tests/test_group_by.py:211
Functiontest_sum_values_list_group_by
(db, group_by_data)
tests/test_group_by.py:184
Functiontest_sum_values_list_group_by_with_join
(db, group_by_data)
tests/test_group_by.py:201
Functiontest_table_and_row_comment_generation
()
tests/schema/test_generate_schema.py:353
Functiontest_team
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1252
Functiontest_team_schema
(db, pydantic_setup)
tests/contrib/test_pydantic.py:861
Functiontest_three_nested_transactions
Test three levels of nested transactions.
tests/test_transactions.py:188
Functiontest_through_schema_none_without_schema
M2M field without Meta.schema has through_schema=None.
tests/migrations/test_schema_qualified_migrations.py:716
Functiontest_through_schema_set_on_backward_m2m_field
Backward (auto-generated) M2M field gets through_schema from declaring model.
tests/migrations/test_schema_qualified_migrations.py:708
Functiontest_through_schema_set_on_forward_m2m_field
Forward M2M field gets through_schema from declaring model.
tests/migrations/test_schema_qualified_migrations.py:701
Functiontest_time_cast
Test time field accepts ISO format string (postgres).
tests/fields/test_time.py:474
Functiontest_time_create
Test creating time fields (postgres).
tests/fields/test_time.py:462
Functiontest_time_field_nullability
()
tests/fields/type_checks.py:140
Functiontest_time_get
Test getting by time field (postgres).
tests/fields/test_time.py:509
Functiontest_time_mysql_cast
Test time field accepts ISO format string (mysql returns timedelta).
tests/fields/test_time.py:541
Functiontest_time_mysql_create
Test creating time fields (mysql returns timedelta).
tests/fields/test_time.py:525
Functiontest_time_mysql_get
Test getting by time field (mysql returns timedelta).
tests/fields/test_time.py:589
Functiontest_time_mysql_values
Test time field in values() query (mysql returns timedelta).
tests/fields/test_time.py:557
Functiontest_time_mysql_values_list
Test time field in values_list() query (mysql returns timedelta).
tests/fields/test_time.py:573
Functiontest_time_values
Test time field in values() query (postgres).
tests/fields/test_time.py:485
Functiontest_time_values_list
Test time field in values_list() query (postgres).
tests/fields/test_time.py:497
Functiontest_timedelta_create
Test creating timedelta fields.
tests/fields/test_time.py:696
Functiontest_timedelta_field_nullability
()
tests/fields/type_checks.py:147
Functiontest_timedelta_get
Test getting by timedelta field.
tests/fields/test_time.py:727
Functiontest_timedelta_values
Test timedelta field in values() query.
tests/fields/test_time.py:709
Functiontest_timedelta_values_list
Test timedelta field in values_list() query.
tests/fields/test_time.py:718
Functiontest_timefield_auto_now_add_only
Test TimeField with only auto_now_add=True.
tests/test_datetime_field_bug.py:78
Functiontest_timefield_auto_now_only
Test TimeField with only auto_now=True.
tests/test_datetime_field_bug.py:71
Functiontest_timefield_both_flags_raises
Test TimeField raises when both auto_now and auto_now_add are True.
tests/test_datetime_field_bug.py:85
Functiontest_timezone
(tz_env)
tests/fields/test_time.py:761
Functiontest_timezone_now_returns_aware_when_use_tz_true
Test timezone.now() returns aware datetime in UTC when use_tz=True.
tests/fields/test_time.py:249
Functiontest_timezone_now_returns_naive_when_use_tz_false
Test timezone.now() returns naive datetime when use_tz=False.
tests/fields/test_time.py:239
Functiontest_topological_sort_all_models
Sorting all registered models succeeds and includes every model.
tests/test_truncate.py:48
← previousnext →3,501–3,600 of 3,850, ranked by callers