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_decimal_field_in
(db, decimal_fields_data)
tests/test_filters.py:299
Function
test_decimal_field_nullability
()
tests/fields/type_checks.py:118
Function
test_decimal_field_sorting
(db, decimal_fields_data)
tests/test_filters.py:274
Function
test_decimal_places_bad
()
tests/fields/test_decimal.py:30
Function
test_decimal_places_empty
()
tests/fields/test_decimal.py:20
Function
test_decimal_sum_on_models_with_validators
(db)
tests/test_aggregation.py:309
Function
test_decimal_sum_with_math_on_models_with_validators
(db)
tests/test_aggregation.py:318
Function
test_deconstruct_with_both_default_and_db_default
()
tests/fields/test_db_default.py:208
Function
test_deconstruct_with_db_default_false
()
tests/fields/test_db_default.py:200
Function
test_deconstruct_with_db_default_int
()
tests/fields/test_db_default.py:169
Function
test_deconstruct_with_db_default_none
()
tests/fields/test_db_default.py:184
Function
test_deconstruct_with_db_default_str
()
tests/fields/test_db_default.py:177
Function
test_deconstruct_with_db_default_zero
()
tests/fields/test_db_default.py:192
Function
test_deconstruct_with_now
deconstruct() preserves Now instance.
tests/fields/test_db_default.py:759
Function
test_deconstruct_without_db_default
()
tests/fields/test_db_default.py:162
Function
test_default
Test that default values are correctly applied when inserting via raw SQL.
tests/test_default.py:53
Method
test_default
(self)
tests/test_primary_key.py:205
Function
test_default_by_save
(db)
tests/test_callable_default.py:14
Function
test_default_connection_init
()
tests/model_setup/test_init.py:326
Function
test_default_create
(db)
tests/test_callable_default.py:7
Function
test_default_order
(db)
tests/test_order_by.py:179
Function
test_default_order_annotated_query
(db)
tests/test_order_by.py:207
Function
test_default_order_desc
(db)
tests/test_order_by.py:189
Function
test_default_order_invalid
(db)
tests/test_order_by.py:198
Function
test_delete
(sql_context)
tests/test_sql.py:199
Function
test_delete
(signals_data)
tests/test_signals.py:93
Function
test_delete
(db, intfields_data)
tests/test_queryset.py:449
Function
test_delete
(tournament_model, tournament_model_unsaved)
tests/test_model_methods.py:186
Function
test_delete_await_across_transaction_fail
Test delete await across transaction that fails.
tests/test_transactions.py:347
Function
test_delete_await_across_transaction_success
Test delete await across transaction that succeeds.
tests/test_transactions.py:364
Function
test_delete_by_name
(db)
tests/fields/test_fk_with_unique.py:95
Function
test_delete_by_name
(db)
tests/fields/test_o2o_with_unique.py:95
Function
test_delete_by_name
(db, uuid_models)
tests/fields/test_fk_uuid.py:421
Function
test_delete_limit
(db, intfields_data)
tests/test_queryset.py:468
Function
test_delete_limit_order_by
(db, intfields_data)
tests/test_queryset.py:475
Function
test_delete_model_fail_on_refs
(state_with_model: State)
tests/migrations/test_operations_state.py:262
Function
test_delete_model_operation_runs_sql
()
tests/migrations/test_operations_database.py:105
Function
test_delete_model_with_fk
(state_with_model: State)
tests/migrations/test_operations_state.py:281
Function
test_delete_model_with_m2m
(state_with_model: State)
tests/migrations/test_operations_state.py:318
Function
test_delete_model_with_o2o
(state_with_model: State)
tests/migrations/test_operations_state.py:300
Function
test_delete_user
(client: TestClient)
examples/blacksheep/_tests.py:74
Function
test_describe_field_noninit
()
tests/utils/test_describe_model.py:80
Function
test_describe_field_noninit_ser
()
tests/utils/test_describe_model.py:60
Function
test_describe_indexes_not_serializable
()
tests/utils/test_describe_model.py:1766
Function
test_describe_indexes_serializable
()
tests/utils/test_describe_model.py:1751
Function
test_describe_model_json
()
tests/utils/test_describe_model.py:1381
Function
test_describe_model_json_native
()
tests/utils/test_describe_model.py:1566
Function
test_describe_model_source
()
tests/utils/test_describe_model.py:627
Function
test_describe_model_source_native
()
tests/utils/test_describe_model.py:866
Function
test_describe_model_straight
()
tests/utils/test_describe_model.py:149
Function
test_describe_model_straight_native
()
tests/utils/test_describe_model.py:388
Function
test_describe_model_uuidpk
()
tests/utils/test_describe_model.py:1105
Function
test_describe_model_uuidpk_native
()
tests/utils/test_describe_model.py:1181
Function
test_describe_model_uuidpk_relatednull
()
tests/utils/test_describe_model.py:1256
Function
test_describe_models_all_not_serializable
(db)
tests/utils/test_describe_model.py:51
Function
test_describe_models_all_serializable
(db)
tests/utils/test_describe_model.py:43
Function
test_describe_models_some
()
tests/utils/test_describe_model.py:142
Function
test_describe_non_serializable_with_db_default
()
tests/fields/test_db_default.py:143
Function
test_describe_non_serializable_with_now
describe(serializable=False) with Now.
tests/fields/test_db_default.py:748
Function
test_describe_non_serializable_without_db_default
()
tests/fields/test_db_default.py:150
Function
test_describe_relfield_noninit
()
tests/utils/test_describe_model.py:121
Function
test_describe_relfield_noninit_ser
()
tests/utils/test_describe_model.py:100
Function
test_describe_serializable_with_now
describe(serializable=True) with Now.
tests/fields/test_db_default.py:738
Function
test_describe_with_db_default_bool
()
tests/fields/test_db_default.py:136
Function
test_describe_with_db_default_int
()
tests/fields/test_db_default.py:113
Function
test_describe_with_db_default_none
()
tests/fields/test_db_default.py:127
Function
test_describe_with_db_default_str
()
tests/fields/test_db_default.py:120
Function
test_describe_without_db_default
()
tests/fields/test_db_default.py:105
Function
test_detect_check_constraint_added
()
tests/migrations/test_state_diff_operations.py:360
Function
test_detect_check_constraint_removed
()
tests/migrations/test_state_diff_operations.py:377
Function
test_detect_db_default_added
()
tests/migrations/test_state_diff_operations.py:313
Function
test_detect_db_default_changed
()
tests/migrations/test_state_diff_operations.py:328
Function
test_detect_db_default_removed
()
tests/migrations/test_state_diff_operations.py:345
Function
test_dialect_mysql
Test mysql dialect capability.
tests/backends/test_capabilities.py:65
Function
test_dialect_postgres
Test postgres dialect capability.
tests/backends/test_capabilities.py:73
Function
test_dialect_sqlite
Test sqlite dialect capability.
tests/backends/test_capabilities.py:57
Function
test_dict_str
Test JSON field with dict from string.
tests/fields/test_json.py:86
Function
test_discard
(conn_handler)
tests/test_connection.py:235
Function
test_discover_client_class_improper_impl
(mocked_import_module, conn_handler)
tests/test_connection.py:88
Function
test_discover_client_class_proper_impl
(mocked_import_module, conn_handler)
tests/test_connection.py:78
Function
test_distinct
(db, intfields_data)
tests/test_queryset.py:175
Function
test_distinct_all_with_annotation
(db)
tests/test_order_by.py:152
Function
test_distinct_values_with_annotation
(db)
tests/test_order_by.py:130
Function
test_does_not_exist
()
tests/test_queryset.py:894
Function
test_doublefk_filter
(db, doublefk_data)
tests/test_relations.py:477
Function
test_doublefk_filter_both
(db, doublefk_data)
tests/test_relations.py:511
Function
test_doublefk_filter_both_values
(db, doublefk_data)
tests/test_relations.py:523
Function
test_doublefk_filter_both_values_rel
(db, doublefk_data)
tests/test_relations.py:535
Function
test_doublefk_filter_values
(db, doublefk_data)
tests/test_relations.py:488
Function
test_doublefk_filter_values_rel
(db, doublefk_data)
tests/test_relations.py:499
Function
test_downgrade_accepts_dotted_target
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_cli.py:425
Function
test_downgrade_defaults_to_first
(monkeypatch: pytest.MonkeyPatch, tmp_path: Path)
tests/cli/test_cli.py:237
Function
test_downgrade_keeps_full_config_for_dependencies
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/cli/test_cli.py:269
Function
test_downgrade_requires_app_label
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_cli.py:401
Function
test_drop_databases_without_init
()
tests/model_setup/test_init.py:489
Function
test_drop_schema_describe
()
tests/migrations/test_schema_qualified_migrations.py:382
Function
test_drop_schema_operation_runs
DropSchema operation calls schema_editor.drop_schema().
tests/migrations/test_schema_qualified_migrations.py:352
Function
test_drop_schema_postgres
()
tests/migrations/test_schema_qualified_migrations.py:307
Function
test_dup1_init
()
tests/model_setup/test_init.py:108
Function
test_dup2_init
()
tests/model_setup/test_init.py:132
← previous
next →
2,501–2,600 of 3,850, ranked by callers