MCPcopy Create free account

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

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

Functiontest_dup3_init
()
tests/model_setup/test_init.py:156
Functiontest_duplicate_values
(db, intfields_data)
tests/test_queryset.py:537
Functiontest_duplicate_values_kw
(db, intfields_data)
tests/test_queryset.py:548
Functiontest_duplicate_values_kw_badmap
(db, intfields_data)
tests/test_queryset.py:554
Functiontest_duplicate_values_list
(db, intfields_data)
tests/test_queryset.py:543
Methodtest_each_context_gets_own_connection_handler
Each context gets own ConnectionHandler.
tests/test_context.py:126
Functiontest_earliest
(db, intfields_data)
tests/test_queryset.py:348
Functiontest_earliest
(tournament_model)
tests/test_model_methods.py:308
Functiontest_earliest
(latest_earliest_data)
tests/test_latest_earliest.py:39
Functiontest_early_init
()
tests/test_early_init.py:40
Functiontest_empty
(db)
tests/contrib/mysql/fields.py:10
Functiontest_empty
(db)
tests/fields/test_char.py:19
Functiontest_empty
Test creating M2M model without relations.
tests/fields/test_m2m.py:9
Functiontest_empty
(db)
tests/fields/test_bool.py:8
Functiontest_empty
Test that creating without required JSON field raises IntegrityError.
tests/fields/test_json.py:20
Functiontest_empty
(db)
tests/fields/test_fk.py:21
Functiontest_empty
(db)
tests/fields/test_binary.py:9
Functiontest_empty
(db)
tests/fields/test_text.py:9
Functiontest_empty
Test that creating without required array field raises IntegrityError.
tests/fields/test_array.py:10
Functiontest_empty
(db)
tests/fields/test_decimal.py:36
Functiontest_empty
(db, uuid_models)
tests/fields/test_fk_uuid.py:45
Functiontest_empty
(db)
tests/fields/test_uuid.py:10
Functiontest_empty
(db, m2m_uuid_models)
tests/fields/test_m2m_uuid.py:30
Functiontest_empty
(db)
tests/fields/test_float.py:11
Functiontest_empty_date_fields
Test that creating DateFields without required field raises IntegrityError.
tests/fields/test_time.py:609
Functiontest_empty_datetime_fields
Test that creating DatetimeFields without required field raises IntegrityError.
tests/fields/test_time.py:26
Functiontest_empty_modules_init
()
tests/model_setup/test_init.py:89
Functiontest_empty_null
(db, uuid_models)
tests/fields/test_fk_uuid.py:52
Functiontest_empty_timedelta_fields
Test that creating TimeDeltaFields without required field raises IntegrityError.
tests/fields/test_time.py:689
Functiontest_enum
(db)
tests/contrib/test_pydantic.py:2142
Functiontest_enum_field_create
Asserts that the new field is saved properly.
tests/fields/test_subclass.py:30
Functiontest_enum_field_default
Test that default enum value is applied correctly.
tests/fields/test_subclass.py:71
Functiontest_enum_field_delete
Assert that delete correctly removes the right participant by their place.
tests/fields/test_subclass.py:63
Functiontest_enum_field_filter
Assert that filters correctly select the enums.
tests/fields/test_subclass.py:51
Functiontest_enum_field_null
Assert that filtering by None selects the records which are null.
tests/fields/test_subclass.py:78
Functiontest_enum_field_update
Asserts that the new field can be updated correctly.
tests/fields/test_subclass.py:38
Functiontest_eq
(tournament_model)
tests/test_model_methods.py:219
Functiontest_eq_filter
Test equality filter on array field.
tests/fields/test_array.py:60
Functiontest_equal
Test equal filter on custom enum field.
tests/fields/test_subclass_filters.py:23
Functiontest_error
Test that invalid JSON raises FieldError.
tests/fields/test_json.py:55
Functiontest_event
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1108
Functiontest_event__all
(db)
tests/fields/test_fk.py:278
Functiontest_event__all
(db, uuid_models)
tests/fields/test_fk_uuid.py:310
Functiontest_event__create_by_id
(db)
tests/fields/test_fk.py:78
Functiontest_event__create_by_name
(db)
tests/fields/test_fk.py:86
Functiontest_event__filter
(db)
tests/fields/test_fk.py:268
Functiontest_event__filter
(db, uuid_models)
tests/fields/test_fk_uuid.py:299
Functiontest_event__limit
(db)
tests/fields/test_fk.py:295
Functiontest_event__limit
(db, uuid_models)
tests/fields/test_fk_uuid.py:329
Functiontest_event__offset
(db)
tests/fields/test_fk.py:304
Functiontest_event__offset
(db, uuid_models)
tests/fields/test_fk_uuid.py:339
Functiontest_event__order_by
(db)
tests/fields/test_fk.py:286
Functiontest_event__order_by
(db, uuid_models)
tests/fields/test_fk_uuid.py:319
Functiontest_event_named
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1315
Functiontest_event_schema
(db, pydantic_setup)
tests/contrib/test_pydantic.py:131
Functiontest_event_sorted
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1333
Functiontest_event_unsorted
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1350
Functiontest_eventlist
(db, pydantic_setup)
tests/contrib/test_pydantic.py:1041
Functiontest_eventlist_schema
(db, pydantic_setup)
tests/contrib/test_pydantic.py:312
Functiontest_exception_on_invalid_data_type_in_int_field
Test that invalid data types raise appropriate exceptions.
tests/fields/test_subclass.py:97
Functiontest_exclude
(db)
tests/test_filtering.py:113
Functiontest_exclude_readonly
(db)
tests/contrib/test_pydantic.py:1456
Functiontest_exclude_with_filter
(db)
tests/test_filtering.py:123
Functiontest_execute_pypika
(query_api_db)
tests/test_query_api.py:55
Functiontest_execute_pypika_empty_result
(query_api_db)
tests/test_query_api.py:147
Functiontest_execute_pypika_explicit_connection_with_multiple_configured
Test execute_pypika with explicit connection when multiple are configured.
tests/test_query_api.py:276
Functiontest_execute_pypika_insert_rows_affected
(query_api_db)
tests/test_query_api.py:87
Functiontest_execute_pypika_invalid_schema_raises
(query_api_db)
tests/test_query_api.py:158
Functiontest_execute_pypika_metadata
(query_api_db)
tests/test_query_api.py:66
Functiontest_execute_pypika_pydantic_schema
(query_api_db)
tests/test_query_api.py:110
Functiontest_execute_pypika_pydantic_type_adapter
(query_api_db)
tests/test_query_api.py:121
Functiontest_execute_pypika_requires_connection_with_multiple_configured
(multi_db)
tests/test_query_api.py:339
Functiontest_execute_pypika_typed_dict_schema
(query_api_db)
tests/test_query_api.py:135
Functiontest_execute_pypika_update_rows_affected
(query_api_db)
tests/test_query_api.py:76
Functiontest_executor_blocks_backward_when_forward_only
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/migrations/test_runtime_migrations.py:263
Functiontest_executor_blocks_forward_when_backward_only
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/migrations/test_runtime_migrations.py:294
Functiontest_executor_plan_cross_app_dependency
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/migrations/test_runtime_migrations.py:321
Functiontest_executor_plan_forward_and_backward
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/migrations/test_runtime_migrations.py:228
Functiontest_executor_plan_ordering
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/migrations/test_runtime_migrations.py:403
Functiontest_exist_after_aggregate
(db)
tests/test_aggregation.py:212
Functiontest_exists
(sql_context)
tests/test_sql.py:152
Functiontest_exists
(db, intfields_data)
tests/test_queryset.py:48
Functiontest_exists
(db)
tests/test_model_methods.py:347
Functiontest_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
Functiontest_expressions_count
(benchmark, few_fields_benchmark_dataset)
tests/benchmarks/test_expressions.py:8
Functiontest_expressions_f
(benchmark, create_decimals)
tests/benchmarks/test_expressions.py:19
Functiontest_f_annotation_custom_filter
(db)
tests/test_filtering.py:537
Functiontest_f_annotation_custom_filter_requiring_join
(db)
tests/test_filtering.py:572
Functiontest_f_annotation_custom_filter_requiring_nested_joins
(db)
tests/test_filtering.py:588
Functiontest_f_annotation_filter
(db)
tests/test_filtering.py:529
Functiontest_f_annotation_join
(db)
tests/test_filtering.py:556
Functiontest_f_annotation_referenced_in_annotation
(db)
tests/test_queryset.py:821
Functiontest_f_expression
(db)
tests/fields/test_float.py:67
Methodtest_f_expression
(self, db)
tests/test_source_field.py:201
Methodtest_f_expression_save
(self, db)
tests/test_source_field.py:347
Methodtest_f_expression_save_update_fields
(self, db)
tests/test_source_field.py:353
Functiontest_f_expression_update
(db)
tests/fields/test_decimal.py:79
Functiontest_field_attribute_lookup_get_for_dialect
(benchmark)
tests/benchmarks/test_field_attribute_lookup.py:23
Functiontest_field_can_be_instantiated_from_describe
Test that a field recreated from describe() is valid.
tests/test_datetime_migration_integration.py:68
Functiontest_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
← previousnext →2,601–2,700 of 3,850, ranked by callers