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
Function
test_dup3_init
()
tests/model_setup/test_init.py:156
Function
test_duplicate_values
(db, intfields_data)
tests/test_queryset.py:537
Function
test_duplicate_values_kw
(db, intfields_data)
tests/test_queryset.py:548
Function
test_duplicate_values_kw_badmap
(db, intfields_data)
tests/test_queryset.py:554
Function
test_duplicate_values_list
(db, intfields_data)
tests/test_queryset.py:543
Method
test_each_context_gets_own_connection_handler
Each context gets own ConnectionHandler.
tests/test_context.py:126
Function
test_earliest
(db, intfields_data)
tests/test_queryset.py:348
Function
test_earliest
(tournament_model)
tests/test_model_methods.py:308
Function
test_earliest
(latest_earliest_data)
tests/test_latest_earliest.py:39
Function
test_early_init
()
tests/test_early_init.py:40
Function
test_empty
(db)
tests/contrib/mysql/fields.py:10
Function
test_empty
(db)
tests/fields/test_char.py:19
Function
test_empty
Test creating M2M model without relations.
tests/fields/test_m2m.py:9
Function
test_empty
(db)
tests/fields/test_bool.py:8
Function
test_empty
Test that creating without required JSON field raises IntegrityError.
tests/fields/test_json.py:20
Function
test_empty
(db)
tests/fields/test_fk.py:21
Function
test_empty
(db)
tests/fields/test_binary.py:9
Function
test_empty
(db)
tests/fields/test_text.py:9
Function
test_empty
Test that creating without required array field raises IntegrityError.
tests/fields/test_array.py:10
Function
test_empty
(db)
tests/fields/test_decimal.py:36
Function
test_empty
(db, uuid_models)
tests/fields/test_fk_uuid.py:45
Function
test_empty
(db)
tests/fields/test_uuid.py:10
Function
test_empty
(db, m2m_uuid_models)
tests/fields/test_m2m_uuid.py:30
Function
test_empty
(db)
tests/fields/test_float.py:11
Function
test_empty_date_fields
Test that creating DateFields without required field raises IntegrityError.
tests/fields/test_time.py:609
Function
test_empty_datetime_fields
Test that creating DatetimeFields without required field raises IntegrityError.
tests/fields/test_time.py:26
Function
test_empty_modules_init
()
tests/model_setup/test_init.py:89
Function
test_empty_null
(db, uuid_models)
tests/fields/test_fk_uuid.py:52
Function
test_empty_timedelta_fields
Test that creating TimeDeltaFields without required field raises IntegrityError.
tests/fields/test_time.py:689
Function
test_enum
(db)
tests/contrib/test_pydantic.py:2142
Function
test_enum_field_create
Asserts that the new field is saved properly.
tests/fields/test_subclass.py:30
Function
test_enum_field_default
Test that default enum value is applied correctly.
tests/fields/test_subclass.py:71
Function
test_enum_field_delete
Assert that delete correctly removes the right participant by their place.
tests/fields/test_subclass.py:63
Function
test_enum_field_filter
Assert that filters correctly select the enums.
tests/fields/test_subclass.py:51
Function
test_enum_field_null
Assert that filtering by None selects the records which are null.
tests/fields/test_subclass.py:78
Function
test_enum_field_update
Asserts that the new field can be updated correctly.
tests/fields/test_subclass.py:38
Function
test_eq
(tournament_model)
tests/test_model_methods.py:219
Function
test_eq_filter
Test equality filter on array field.
tests/fields/test_array.py:60
Function
test_equal
Test equal filter on custom enum field.
tests/fields/test_subclass_filters.py:23
Function
test_error
Test that invalid JSON raises FieldError.
tests/fields/test_json.py:55
Function
test_event
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1108
Function
test_event__all
(db)
tests/fields/test_fk.py:278
Function
test_event__all
(db, uuid_models)
tests/fields/test_fk_uuid.py:310
Function
test_event__create_by_id
(db)
tests/fields/test_fk.py:78
Function
test_event__create_by_name
(db)
tests/fields/test_fk.py:86
Function
test_event__filter
(db)
tests/fields/test_fk.py:268
Function
test_event__filter
(db, uuid_models)
tests/fields/test_fk_uuid.py:299
Function
test_event__limit
(db)
tests/fields/test_fk.py:295
Function
test_event__limit
(db, uuid_models)
tests/fields/test_fk_uuid.py:329
Function
test_event__offset
(db)
tests/fields/test_fk.py:304
Function
test_event__offset
(db, uuid_models)
tests/fields/test_fk_uuid.py:339
Function
test_event__order_by
(db)
tests/fields/test_fk.py:286
Function
test_event__order_by
(db, uuid_models)
tests/fields/test_fk_uuid.py:319
Function
test_event_named
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1315
Function
test_event_schema
(db, pydantic_setup)
tests/contrib/test_pydantic.py:131
Function
test_event_sorted
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1333
Function
test_event_unsorted
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1350
Function
test_eventlist
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1041
Function
test_eventlist_schema
(db, pydantic_setup)
tests/contrib/test_pydantic.py:312
Function
test_exception_on_invalid_data_type_in_int_field
Test that invalid data types raise appropriate exceptions.
tests/fields/test_subclass.py:97
Function
test_exclude
(db)
tests/test_filtering.py:113
Function
test_exclude_readonly
(db)
tests/contrib/test_pydantic.py:1456
Function
test_exclude_with_filter
(db)
tests/test_filtering.py:123
Function
test_execute_pypika
(query_api_db)
tests/test_query_api.py:55
Function
test_execute_pypika_empty_result
(query_api_db)
tests/test_query_api.py:147
Function
test_execute_pypika_explicit_connection_with_multiple_configured
Test execute_pypika with explicit connection when multiple are configured.
tests/test_query_api.py:276
Function
test_execute_pypika_insert_rows_affected
(query_api_db)
tests/test_query_api.py:87
Function
test_execute_pypika_invalid_schema_raises
(query_api_db)
tests/test_query_api.py:158
Function
test_execute_pypika_metadata
(query_api_db)
tests/test_query_api.py:66
Function
test_execute_pypika_pydantic_schema
(query_api_db)
tests/test_query_api.py:110
Function
test_execute_pypika_pydantic_type_adapter
(query_api_db)
tests/test_query_api.py:121
Function
test_execute_pypika_requires_connection_with_multiple_configured
(multi_db)
tests/test_query_api.py:339
Function
test_execute_pypika_typed_dict_schema
(query_api_db)
tests/test_query_api.py:135
Function
test_execute_pypika_update_rows_affected
(query_api_db)
tests/test_query_api.py:76
Function
test_executor_blocks_backward_when_forward_only
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/migrations/test_runtime_migrations.py:263
Function
test_executor_blocks_forward_when_backward_only
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/migrations/test_runtime_migrations.py:294
Function
test_executor_plan_cross_app_dependency
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/migrations/test_runtime_migrations.py:321
Function
test_executor_plan_forward_and_backward
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/migrations/test_runtime_migrations.py:228
Function
test_executor_plan_ordering
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/migrations/test_runtime_migrations.py:403
Function
test_exist_after_aggregate
(db)
tests/test_aggregation.py:212
Function
test_exists
(sql_context)
tests/test_sql.py:152
Function
test_exists
(db, intfields_data)
tests/test_queryset.py:48
Function
test_exists
(db)
tests/test_model_methods.py:347
Function
test_explain
Test that explain() returns query plan information. NOTE: we do not provide any guarantee on the format of the value returned by `.explain()`
tests/backends/test_explain.py:10
Function
test_expressions_count
(benchmark, few_fields_benchmark_dataset)
tests/benchmarks/test_expressions.py:8
Function
test_expressions_f
(benchmark, create_decimals)
tests/benchmarks/test_expressions.py:19
Function
test_f_annotation_custom_filter
(db)
tests/test_filtering.py:537
Function
test_f_annotation_custom_filter_requiring_join
(db)
tests/test_filtering.py:572
Function
test_f_annotation_custom_filter_requiring_nested_joins
(db)
tests/test_filtering.py:588
Function
test_f_annotation_filter
(db)
tests/test_filtering.py:529
Function
test_f_annotation_join
(db)
tests/test_filtering.py:556
Function
test_f_annotation_referenced_in_annotation
(db)
tests/test_queryset.py:821
Function
test_f_expression
(db)
tests/fields/test_float.py:67
Method
test_f_expression
(self, db)
tests/test_source_field.py:201
Method
test_f_expression_save
(self, db)
tests/test_source_field.py:347
Method
test_f_expression_save_update_fields
(self, db)
tests/test_source_field.py:353
Function
test_f_expression_update
(db)
tests/fields/test_decimal.py:79
Function
test_field_attribute_lookup_get_for_dialect
(benchmark)
tests/benchmarks/test_field_attribute_lookup.py:23
Function
test_field_can_be_instantiated_from_describe
Test that a field recreated from describe() is valid.
tests/test_datetime_migration_integration.py:68
Function
test_field_name_conflicts_with_model_attributes
Test that using reserved model attribute names as field names raises ConfigurationError.
tests/test_model_field_name_conflicts.py:8
← previous
next →
2,601–2,700 of 3,850, ranked by callers