MCPcopy Create free account

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

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

Functiontest_field_signature_distinguishes_db_default_none_from_not_set
db_default=None and no db_default should produce different signatures.
tests/fields/test_db_default.py:354
Functiontest_field_signature_excludes_default
Changing Python-level default should NOT change the field signature.
tests/fields/test_db_default.py:371
Functiontest_field_signature_ignores_implicit_db_column
()
tests/migrations/test_state_generator.py:35
Functiontest_field_signature_includes_db_default
Changing db_default produces different field signatures.
tests/fields/test_db_default.py:334
Functiontest_field_with_default_not_optional
Fields with a default value but null=False should not be marked as Optional.
tests/contrib/test_pydantic.py:2223
Functiontest_filter
(sql_context)
tests/test_sql.py:21
Functiontest_filter
(tournament_model)
tests/test_model_methods.py:315
Functiontest_filter
Test JSON filter with nested data.
tests/fields/test_json.py:150
Functiontest_filter
(db)
tests/fields/test_decimal.py:64
Functiontest_filter_by_aggregation_field
(db)
tests/test_filtering.py:236
Functiontest_filter_by_aggregation_field_coalesce
(db)
tests/test_filtering.py:395
Methodtest_filter_by_aggregation_field_coalesce
(self, db)
tests/test_source_field.py:235
Functiontest_filter_by_aggregation_field_coalesce_numeric
(db)
tests/test_filtering.py:407
Functiontest_filter_by_aggregation_field_comparison_coalesce_numeric
(db)
tests/test_filtering.py:419
Functiontest_filter_by_aggregation_field_comparison_length
(db)
tests/test_filtering.py:433
Methodtest_filter_by_aggregation_field_count
(self, db)
tests/test_source_field.py:244
Functiontest_filter_by_aggregation_field_length
(db)
tests/test_filtering.py:384
Methodtest_filter_by_aggregation_field_length
(self, db)
tests/test_source_field.py:256
Methodtest_filter_by_aggregation_field_lower
(self, db)
tests/test_source_field.py:265
Functiontest_filter_by_aggregation_field_trim
(db)
tests/test_filtering.py:373
Methodtest_filter_by_aggregation_field_trim
(self, db)
tests/test_source_field.py:273
Methodtest_filter_by_aggregation_field_upper
(self, db)
tests/test_source_field.py:281
Functiontest_filter_by_aggregation_field_with_and
(db)
tests/test_filtering.py:247
Functiontest_filter_by_aggregation_field_with_and_as_one_node
(db)
tests/test_filtering.py:261
Functiontest_filter_by_aggregation_field_with_and_as_two_nodes
(db)
tests/test_filtering.py:275
Functiontest_filter_by_aggregation_field_with_not
(db)
tests/test_filtering.py:331
Functiontest_filter_by_aggregation_field_with_or
(db)
tests/test_filtering.py:289
Functiontest_filter_by_aggregation_field_with_or_as_one_node
(db)
tests/test_filtering.py:317
Functiontest_filter_by_aggregation_field_with_or_not
(db)
tests/test_filtering.py:345
Functiontest_filter_by_aggregation_field_with_or_not_reversed
(db)
tests/test_filtering.py:359
Functiontest_filter_by_aggregation_field_with_or_reversed
(db)
tests/test_filtering.py:303
Functiontest_filter_by_annotation_lower
(db)
tests/test_filtering.py:451
Functiontest_filter_by_annotation_upper
(db)
tests/test_filtering.py:460
Functiontest_filter_exact
(db)
tests/test_filtering.py:193
Functiontest_filter_few_fields
(benchmark, few_fields_benchmark_dataset)
tests/benchmarks/test_filter.py:8
Functiontest_filter_is_null_condition
Test JSON filter with isnull condition.
tests/fields/test_json.py:235
Functiontest_filter_many_filters
(benchmark, many_fields_benchmark_dataset)
tests/benchmarks/test_filter.py:20
Functiontest_filter_not
(db)
tests/test_filtering.py:162
Functiontest_filter_not_condition
Test JSON filter with not condition.
tests/fields/test_json.py:196
Functiontest_filter_not_is_null_condition
Test JSON filter with not_isnull condition.
tests/fields/test_json.py:275
Functiontest_filter_not_with_or
(db)
tests/test_filtering.py:181
Functiontest_filter_null_on_related
(db)
tests/test_filtering.py:134
Functiontest_filter_or
(db)
tests/test_filtering.py:151
Functiontest_filter_with_f_expression
(db)
tests/test_filtering.py:172
Methodtest_filter_with_field_f
(self, db)
tests/test_source_field.py:297
Methodtest_filter_with_field_f_annotation
(self, db)
tests/test_source_field.py:306
Functiontest_filter_with_json_field_attribute
Test F expression filter with JSON field attribute.
tests/test_f.py:133
Functiontest_filter_with_json_field_attribute_of_attribute
Test F expression filter with nested JSON field attribute.
tests/test_f.py:144
Functiontest_filter_with_json_field_str_array_element
Test F expression filter with JSON field string array element.
tests/test_f.py:157
Functiontest_filter_with_limit_offset
(sql_context)
tests/test_sql.py:37
Functiontest_filtering
(db)
tests/test_filtering.py:23
Functiontest_filters
(db)
tests/test_queryset_reuse.py:35
Functiontest_first
(db, intfields_data)
tests/test_queryset.py:289
Functiontest_first
(tournament_model)
tests/test_model_methods.py:287
Functiontest_fk_bad_model_name
()
tests/schema/test_generate_schema.py:266
Functiontest_fk_bad_null
()
tests/schema/test_generate_schema.py:291
Functiontest_fk_bad_on_delete
()
tests/schema/test_generate_schema.py:278
Functiontest_fk_bulk_create_wrong_type
(db)
tests/fields/test_fk.py:354
Functiontest_fk_bulk_update_wrong_type
(db)
tests/fields/test_fk.py:363
Functiontest_fk_correct_type_assignment
(db)
tests/fields/test_fk.py:313
Functiontest_fk_none_assignment
(db)
tests/fields/test_fk.py:334
Functiontest_fk_saved
(db)
tests/test_model_methods.py:857
Functiontest_fk_unsaved
()
tests/test_model_methods.py:851
Functiontest_fk_update_wrong_type
(db)
tests/fields/test_fk.py:344
Functiontest_fk_wrong_type_assignment
(db)
tests/fields/test_fk.py:324
Functiontest_float_field_nullability
()
tests/fields/type_checks.py:154
Functiontest_force_create
(tournament_model)
tests/test_model_methods.py:475
Functiontest_force_index
(db, intfields_data)
tests/test_queryset.py:630
Functiontest_force_index_available_in_more_query
(db, intfields_data)
tests/test_queryset.py:640
Functiontest_force_update
(tournament_model)
tests/test_model_methods.py:482
Functiontest_force_update_raise
(tournament_model)
tests/test_model_methods.py:488
Methodtest_full_context_lifecycle_with_crud
Full context lifecycle with model CRUD operations.
tests/test_context.py:369
Functiontest_func_annotation_in_when_annotation
(db, intfields_data)
tests/test_case_when.py:222
Functiontest_func_default
(db, intfields_data)
tests/test_case_when.py:166
Functiontest_func_then
(db, intfields_data)
tests/test_case_when.py:111
Methodtest_function
(self, db)
tests/test_source_field.py:208
Functiontest_function_requiring_nested_joins
(db)
tests/test_aggregation.py:329
Functiontest_generate_add_remove_index
()
tests/migrations/test_state_diff_operations.py:227
Functiontest_generate_alter_field
()
tests/migrations/test_state_diff_operations.py:151
Functiontest_generate_alter_field_and_add_constraint_in_correct_order
()
tests/migrations/test_state_diff_operations.py:412
Functiontest_generate_alter_field_and_add_index_in_correct_order
()
tests/migrations/test_state_diff_operations.py:393
Functiontest_generate_alter_field_and_remove_constraint_in_correct_order
()
tests/migrations/test_state_diff_operations.py:450
Functiontest_generate_alter_field_and_remove_index_in_correct_order
()
tests/migrations/test_state_diff_operations.py:431
Functiontest_generate_alter_field_when_generated_sql_changes
()
tests/migrations/test_state_diff_operations.py:164
Functiontest_generate_config_basic
()
tests/backends/test_db_url.py:367
Functiontest_generate_config_explicit
()
tests/backends/test_db_url.py:392
Functiontest_generate_config_many_apps
()
tests/backends/test_db_url.py:419
Functiontest_generate_create_and_delete_model
()
tests/migrations/test_state_diff_operations.py:64
Functiontest_generate_field_ops
()
tests/migrations/test_state_diff_operations.py:95
Functiontest_generate_recreate_generated_field_restores_indexes_constraints
()
tests/migrations/test_state_diff_operations.py:190
Functiontest_generate_rename_constraint_explicit
()
tests/migrations/test_state_diff_operations.py:296
Functiontest_generate_rename_field_source_field_matrix
( old_name: str, new_name: str, old_source: str | None, new_source: str | None, expect_ren
tests/migrations/test_state_diff_operations.py:122
Functiontest_generate_rename_index_explicit
()
tests/migrations/test_state_diff_operations.py:247
Functiontest_generate_rename_model_heuristic
()
tests/migrations/test_state_diff_operations.py:79
Functiontest_generate_schema_without_init
()
tests/model_setup/test_init.py:480
Methodtest_generate_schemas_creates_tables
generate_schemas() creates tables in the database.
tests/test_context.py:351
Methodtest_generate_schemas_raises_when_not_initialized
generate_schemas() raises when context not initialized.
tests/test_context.py:279
Functiontest_generate_unique_together_constraints
()
tests/migrations/test_state_diff_operations.py:270
Functiontest_generated_nonint
()
tests/model_setup/test_init.py:180
Functiontest_get
(db, intfields_data)
tests/test_queryset.py:395
← previousnext →2,701–2,800 of 3,850, ranked by callers