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_only_source_first
(db, source_fields_instance)
tests/test_only.py:118
Function
test_only_source_get
(db, source_fields_instance)
tests/test_only.py:99
Function
test_only_source_partial_save
(db, source_fields_instance)
tests/test_only.py:135
Function
test_only_source_partial_save_with_pk
(db, source_fields_instance)
tests/test_only.py:151
Function
test_only_source_partial_save_with_pk_wrong_field
(db, source_fields_instance)
tests/test_only.py:143
Function
test_only_source_save
(db, source_fields_instance)
tests/test_only.py:127
Function
test_only_straight_filter
(db, straight_fields_instance)
tests/test_only.py:40
Function
test_only_straight_first
(db, straight_fields_instance)
tests/test_only.py:50
Function
test_only_straight_get
(db, straight_fields_instance)
tests/test_only.py:31
Function
test_only_straight_partial_save
(db, straight_fields_instance)
tests/test_only.py:67
Function
test_only_straight_partial_save_with_pk
(db, straight_fields_instance)
tests/test_only.py:83
Function
test_only_straight_partial_save_with_pk_wrong_field
(db, straight_fields_instance)
tests/test_only.py:75
Function
test_only_straight_save
(db, straight_fields_instance)
tests/test_only.py:59
Function
test_optional_update
(db)
tests/contrib/test_pydantic.py:1936
Function
test_oracle_alter_field_drop_default
Oracle should use MODIFY with DEFAULT NULL to drop a default.
tests/migrations/test_schema_editor_backends.py:699
Function
test_oracle_alter_field_not_null_to_null
Oracle should use MODIFY with type for not-null->null change.
tests/migrations/test_schema_editor_backends.py:641
Function
test_oracle_alter_field_null_to_not_null
Oracle should use MODIFY with type for null->not-null change.
tests/migrations/test_schema_editor_backends.py:610
Function
test_oracle_alter_field_set_default
Oracle should use MODIFY with DEFAULT for setting a default.
tests/migrations/test_schema_editor_backends.py:670
Function
test_oracle_create_table_includes_fk_constraints
Oracle CREATE TABLE should include FK constraints via _get_inner_statements.
tests/migrations/test_schema_editor_backends.py:563
Function
test_oracle_create_table_with_schema
()
tests/migrations/test_schema_qualified_migrations.py:266
Function
test_oracle_rename_table_with_schema
Oracle RENAME TABLE uses schema-qualified names.
tests/migrations/test_schema_qualified_migrations.py:655
Function
test_order_by
(db)
tests/test_order_by.py:23
Function
test_order_by
(db)
tests/test_queryset_reuse.py:72
Function
test_order_by
(db)
tests/fields/test_decimal.py:105
Function
test_order_by_aggregation
(db)
tests/test_order_by.py:94
Function
test_order_by_aggregation_reversed
(db)
tests/test_order_by.py:106
Function
test_order_by_ambigious_field_name
(db)
tests/test_order_by.py:52
Function
test_order_by_annotation
(db)
tests/test_filtering.py:469
Function
test_order_by_annotation_not_in_values
(db)
tests/test_values.py:252
Function
test_order_by_annotation_not_in_values_list
(db)
tests/test_values.py:273
Function
test_order_by_bad_value
(db, intfields_data)
tests/test_queryset.py:596
Function
test_order_by_nested_basic
(db)
tests/test_order_by_nested.py:10
Function
test_order_by_related
(db)
tests/test_order_by.py:41
Function
test_order_by_related_reversed
(db)
tests/test_order_by.py:65
Function
test_order_by_relation
(db)
tests/test_order_by.py:76
Function
test_order_by_reserved_word_annotation
(db)
tests/test_order_by.py:118
Function
test_order_by_reversed
(db)
tests/test_order_by.py:32
Function
test_order_by_unknown_field
(db)
tests/test_order_by.py:85
Function
test_overlap_ints
Test overlap filter on integer array field.
tests/fields/test_array.py:162
Function
test_override_default_model_config_by_config_class
Pydantic meta's config_class should be able to override default config.
tests/contrib/test_pydantic.py:1398
Function
test_override_meta_pydantic_config_by_model_creator
(db)
tests/contrib/test_pydantic.py:1419
Method
test_pk_alias_compare
(self, Field: Any, init_kwargs: dict)
tests/test_primary_key.py:193
Method
test_pk_alias_compare
(self)
tests/test_primary_key.py:280
Method
test_pk_alias_error
(self, Field: Any, init_kwargs: dict)
tests/test_primary_key.py:185
Method
test_pk_alias_error
(self)
tests/test_primary_key.py:269
Method
test_pk_alias_warning
(self, Field: Any, init_kwargs: dict)
tests/test_primary_key.py:174
Method
test_pk_alias_warning
(self)
tests/test_primary_key.py:258
Function
test_pk_deprecated
()
tests/fields/test_text.py:55
Function
test_postgres_add_constraint_with_condition_generates_partial_index
PostgreSQL generates CREATE UNIQUE INDEX ... WHERE for partial unique constraints.
tests/migrations/test_schema_editor_constraints.py:547
Function
test_postgres_alter_field_bool_db_default
PostgreSQL alter_field adding db_default=True should emit SET DEFAULT TRUE.
tests/migrations/test_schema_editor_backends.py:150
Function
test_postgres_alter_field_description_change
PostgreSQL should emit COMMENT ON COLUMN when description changes.
tests/migrations/test_schema_editor_backends.py:887
Function
test_postgres_alter_field_description_removal
PostgreSQL should emit COMMENT ON COLUMN ... IS NULL when description removed.
tests/migrations/test_schema_editor_backends.py:916
Function
test_postgres_alter_field_max_length
PostgreSQL alter_field changing max_length should emit ALTER COLUMN TYPE.
tests/migrations/test_schema_editor_backends.py:733
Function
test_postgres_alter_field_uses_introspected_legacy_name
PostgreSQL AlterField unique=True->False should use the introspected constraint name.
tests/migrations/test_operations_database.py:334
Function
test_postgres_basic
()
tests/backends/test_db_url.py:96
Function
test_postgres_bool_db_default_false
PostgreSQL should emit DEFAULT FALSE for BooleanField(db_default=False).
tests/migrations/test_schema_editor_backends.py:65
Function
test_postgres_bool_db_default_true
PostgreSQL should emit DEFAULT TRUE for BooleanField(db_default=True).
tests/migrations/test_schema_editor_backends.py:42
Function
test_postgres_create_table_with_schema
()
tests/migrations/test_schema_qualified_migrations.py:230
Function
test_postgres_encoded_password
()
tests/backends/test_db_url.py:111
Function
test_postgres_func_rand
(db, intfields)
tests/contrib/test_functions.py:34
Function
test_postgres_int_db_default_unaffected
PostgreSQL non-bool db_default should still work (regression guard).
tests/migrations/test_schema_editor_backends.py:110
Function
test_postgres_no_db
()
tests/backends/test_db_url.py:126
Function
test_postgres_no_port
()
tests/backends/test_db_url.py:141
Function
test_postgres_nonint_port
()
tests/backends/test_db_url.py:156
Function
test_postgres_params
()
tests/backends/test_db_url.py:182
Function
test_postgres_plus_sign_in_password
()
tests/backends/test_db_url.py:248
Function
test_postgres_search
(db)
tests/test_queryset.py:763
Function
test_postgres_testing
()
tests/backends/test_db_url.py:162
Function
test_prefetch
(db)
tests/test_prefetching.py:10
Function
test_prefetch_bad_key
(db)
tests/test_prefetching.py:123
Function
test_prefetch_direct_relation
(db)
tests/test_prefetching.py:115
Function
test_prefetch_direct_relation_to_attr
(db)
tests/test_prefetching.py:169
Function
test_prefetch_m2m
(db)
tests/test_prefetching.py:51
Function
test_prefetch_m2m_filter
(db)
tests/test_prefetching.py:131
Function
test_prefetch_m2m_to_attr
(db)
tests/test_prefetching.py:143
Function
test_prefetch_nested
(db)
tests/test_prefetching.py:77
Function
test_prefetch_nested_with_aggregation
(db)
tests/test_prefetching.py:96
Function
test_prefetch_o2o
(db)
tests/test_prefetching.py:66
Function
test_prefetch_o2o_to_attr
(db)
tests/test_prefetching.py:158
Function
test_prefetch_object
(db)
tests/test_prefetching.py:23
Function
test_prefetch_related_fk
(db)
tests/test_relations.py:280
Function
test_prefetch_related_id
(db)
tests/test_relations.py:316
Function
test_prefetch_related_missing_field
(db)
tests/test_relations.py:298
Function
test_prefetch_related_nonrel_field
(db)
tests/test_relations.py:307
Function
test_prefetch_related_rfk
(db)
tests/test_relations.py:289
Function
test_prefetch_unknown_field
(db)
tests/test_prefetching.py:38
Function
test_prevent_saving
(db)
tests/test_validators.py:86
Function
test_principal__by_name__awaited
(db)
tests/fields/test_o2o_with_unique.py:57
Function
test_principal__by_name__created_prefetched
(db)
tests/fields/test_o2o_with_unique.py:32
Function
test_principal__by_name__re_awaited
(db)
tests/fields/test_o2o_with_unique.py:48
Function
test_principal__by_name__unfetched
(db)
tests/fields/test_o2o_with_unique.py:40
Function
test_principal__create_by_id
(db)
tests/fields/test_o2o_with_unique.py:15
Function
test_principal__create_by_name
(db)
tests/fields/test_o2o_with_unique.py:23
Function
test_principal__empty
(db)
tests/fields/test_o2o_with_unique.py:9
Function
test_principal__fetched_bool
(db)
tests/fields/test_o2o_with_unique.py:117
Function
test_principal__filter
(db)
tests/fields/test_o2o_with_unique.py:127
Function
test_principal__instantiated_create
(db)
tests/fields/test_o2o_with_unique.py:111
Function
test_principal__uninstantiated_create
(db)
tests/fields/test_o2o_with_unique.py:104
Function
test_psycopg_connection_params
()
tests/backends/test_connection_params.py:104
Function
test_psycopg_index_safe
()
tests/schema/test_generate_schema.py:1899
← previous
next →
3,201–3,300 of 3,850, ranked by callers