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_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
Function
test_field_signature_excludes_default
Changing Python-level default should NOT change the field signature.
tests/fields/test_db_default.py:371
Function
test_field_signature_ignores_implicit_db_column
()
tests/migrations/test_state_generator.py:35
Function
test_field_signature_includes_db_default
Changing db_default produces different field signatures.
tests/fields/test_db_default.py:334
Function
test_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
Function
test_filter
(sql_context)
tests/test_sql.py:21
Function
test_filter
(tournament_model)
tests/test_model_methods.py:315
Function
test_filter
Test JSON filter with nested data.
tests/fields/test_json.py:150
Function
test_filter
(db)
tests/fields/test_decimal.py:64
Function
test_filter_by_aggregation_field
(db)
tests/test_filtering.py:236
Function
test_filter_by_aggregation_field_coalesce
(db)
tests/test_filtering.py:395
Method
test_filter_by_aggregation_field_coalesce
(self, db)
tests/test_source_field.py:235
Function
test_filter_by_aggregation_field_coalesce_numeric
(db)
tests/test_filtering.py:407
Function
test_filter_by_aggregation_field_comparison_coalesce_numeric
(db)
tests/test_filtering.py:419
Function
test_filter_by_aggregation_field_comparison_length
(db)
tests/test_filtering.py:433
Method
test_filter_by_aggregation_field_count
(self, db)
tests/test_source_field.py:244
Function
test_filter_by_aggregation_field_length
(db)
tests/test_filtering.py:384
Method
test_filter_by_aggregation_field_length
(self, db)
tests/test_source_field.py:256
Method
test_filter_by_aggregation_field_lower
(self, db)
tests/test_source_field.py:265
Function
test_filter_by_aggregation_field_trim
(db)
tests/test_filtering.py:373
Method
test_filter_by_aggregation_field_trim
(self, db)
tests/test_source_field.py:273
Method
test_filter_by_aggregation_field_upper
(self, db)
tests/test_source_field.py:281
Function
test_filter_by_aggregation_field_with_and
(db)
tests/test_filtering.py:247
Function
test_filter_by_aggregation_field_with_and_as_one_node
(db)
tests/test_filtering.py:261
Function
test_filter_by_aggregation_field_with_and_as_two_nodes
(db)
tests/test_filtering.py:275
Function
test_filter_by_aggregation_field_with_not
(db)
tests/test_filtering.py:331
Function
test_filter_by_aggregation_field_with_or
(db)
tests/test_filtering.py:289
Function
test_filter_by_aggregation_field_with_or_as_one_node
(db)
tests/test_filtering.py:317
Function
test_filter_by_aggregation_field_with_or_not
(db)
tests/test_filtering.py:345
Function
test_filter_by_aggregation_field_with_or_not_reversed
(db)
tests/test_filtering.py:359
Function
test_filter_by_aggregation_field_with_or_reversed
(db)
tests/test_filtering.py:303
Function
test_filter_by_annotation_lower
(db)
tests/test_filtering.py:451
Function
test_filter_by_annotation_upper
(db)
tests/test_filtering.py:460
Function
test_filter_exact
(db)
tests/test_filtering.py:193
Function
test_filter_few_fields
(benchmark, few_fields_benchmark_dataset)
tests/benchmarks/test_filter.py:8
Function
test_filter_is_null_condition
Test JSON filter with isnull condition.
tests/fields/test_json.py:235
Function
test_filter_many_filters
(benchmark, many_fields_benchmark_dataset)
tests/benchmarks/test_filter.py:20
Function
test_filter_not
(db)
tests/test_filtering.py:162
Function
test_filter_not_condition
Test JSON filter with not condition.
tests/fields/test_json.py:196
Function
test_filter_not_is_null_condition
Test JSON filter with not_isnull condition.
tests/fields/test_json.py:275
Function
test_filter_not_with_or
(db)
tests/test_filtering.py:181
Function
test_filter_null_on_related
(db)
tests/test_filtering.py:134
Function
test_filter_or
(db)
tests/test_filtering.py:151
Function
test_filter_with_f_expression
(db)
tests/test_filtering.py:172
Method
test_filter_with_field_f
(self, db)
tests/test_source_field.py:297
Method
test_filter_with_field_f_annotation
(self, db)
tests/test_source_field.py:306
Function
test_filter_with_json_field_attribute
Test F expression filter with JSON field attribute.
tests/test_f.py:133
Function
test_filter_with_json_field_attribute_of_attribute
Test F expression filter with nested JSON field attribute.
tests/test_f.py:144
Function
test_filter_with_json_field_str_array_element
Test F expression filter with JSON field string array element.
tests/test_f.py:157
Function
test_filter_with_limit_offset
(sql_context)
tests/test_sql.py:37
Function
test_filtering
(db)
tests/test_filtering.py:23
Function
test_filters
(db)
tests/test_queryset_reuse.py:35
Function
test_first
(db, intfields_data)
tests/test_queryset.py:289
Function
test_first
(tournament_model)
tests/test_model_methods.py:287
Function
test_fk_bad_model_name
()
tests/schema/test_generate_schema.py:266
Function
test_fk_bad_null
()
tests/schema/test_generate_schema.py:291
Function
test_fk_bad_on_delete
()
tests/schema/test_generate_schema.py:278
Function
test_fk_bulk_create_wrong_type
(db)
tests/fields/test_fk.py:354
Function
test_fk_bulk_update_wrong_type
(db)
tests/fields/test_fk.py:363
Function
test_fk_correct_type_assignment
(db)
tests/fields/test_fk.py:313
Function
test_fk_none_assignment
(db)
tests/fields/test_fk.py:334
Function
test_fk_saved
(db)
tests/test_model_methods.py:857
Function
test_fk_unsaved
()
tests/test_model_methods.py:851
Function
test_fk_update_wrong_type
(db)
tests/fields/test_fk.py:344
Function
test_fk_wrong_type_assignment
(db)
tests/fields/test_fk.py:324
Function
test_float_field_nullability
()
tests/fields/type_checks.py:154
Function
test_force_create
(tournament_model)
tests/test_model_methods.py:475
Function
test_force_index
(db, intfields_data)
tests/test_queryset.py:630
Function
test_force_index_available_in_more_query
(db, intfields_data)
tests/test_queryset.py:640
Function
test_force_update
(tournament_model)
tests/test_model_methods.py:482
Function
test_force_update_raise
(tournament_model)
tests/test_model_methods.py:488
Method
test_full_context_lifecycle_with_crud
Full context lifecycle with model CRUD operations.
tests/test_context.py:369
Function
test_func_annotation_in_when_annotation
(db, intfields_data)
tests/test_case_when.py:222
Function
test_func_default
(db, intfields_data)
tests/test_case_when.py:166
Function
test_func_then
(db, intfields_data)
tests/test_case_when.py:111
Method
test_function
(self, db)
tests/test_source_field.py:208
Function
test_function_requiring_nested_joins
(db)
tests/test_aggregation.py:329
Function
test_generate_add_remove_index
()
tests/migrations/test_state_diff_operations.py:227
Function
test_generate_alter_field
()
tests/migrations/test_state_diff_operations.py:151
Function
test_generate_alter_field_and_add_constraint_in_correct_order
()
tests/migrations/test_state_diff_operations.py:412
Function
test_generate_alter_field_and_add_index_in_correct_order
()
tests/migrations/test_state_diff_operations.py:393
Function
test_generate_alter_field_and_remove_constraint_in_correct_order
()
tests/migrations/test_state_diff_operations.py:450
Function
test_generate_alter_field_and_remove_index_in_correct_order
()
tests/migrations/test_state_diff_operations.py:431
Function
test_generate_alter_field_when_generated_sql_changes
()
tests/migrations/test_state_diff_operations.py:164
Function
test_generate_config_basic
()
tests/backends/test_db_url.py:367
Function
test_generate_config_explicit
()
tests/backends/test_db_url.py:392
Function
test_generate_config_many_apps
()
tests/backends/test_db_url.py:419
Function
test_generate_create_and_delete_model
()
tests/migrations/test_state_diff_operations.py:64
Function
test_generate_field_ops
()
tests/migrations/test_state_diff_operations.py:95
Function
test_generate_recreate_generated_field_restores_indexes_constraints
()
tests/migrations/test_state_diff_operations.py:190
Function
test_generate_rename_constraint_explicit
()
tests/migrations/test_state_diff_operations.py:296
Function
test_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
Function
test_generate_rename_index_explicit
()
tests/migrations/test_state_diff_operations.py:247
Function
test_generate_rename_model_heuristic
()
tests/migrations/test_state_diff_operations.py:79
Function
test_generate_schema_without_init
()
tests/model_setup/test_init.py:480
Method
test_generate_schemas_creates_tables
generate_schemas() creates tables in the database.
tests/test_context.py:351
Method
test_generate_schemas_raises_when_not_initialized
generate_schemas() raises when context not initialized.
tests/test_context.py:279
Function
test_generate_unique_together_constraints
()
tests/migrations/test_state_diff_operations.py:270
Function
test_generated_nonint
()
tests/model_setup/test_init.py:180
Function
test_get
(db, intfields_data)
tests/test_queryset.py:395
← previous
next →
2,701–2,800 of 3,850, ranked by callers