MCPcopy Create free account

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

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

Functiontest_psycopg_index_unsafe
()
tests/schema/test_generate_schema.py:1866
Functiontest_psycopg_m2m_no_auto_create
()
tests/schema/test_generate_schema.py:1932
Functiontest_psycopg_noid
()
tests/schema/test_generate_schema.py:1561
Functiontest_psycopg_pgfields_safe
()
tests/schema/test_generate_schema.py:2014
Functiontest_psycopg_pgfields_unsafe
()
tests/schema/test_generate_schema.py:1992
Functiontest_psycopg_schema
()
tests/schema/test_generate_schema.py:1646
Functiontest_psycopg_schema_no_db_constraint
()
tests/schema/test_generate_schema.py:1589
Functiontest_psycopg_schema_qualified_safe
Postgres (psycopg) should produce schema-qualified names with CREATE SCHEMA.
tests/schema/test_generate_schema.py:2088
Functiontest_psycopg_schema_qualified_unsafe
Postgres (psycopg) unsafe should produce CREATE SCHEMA without IF NOT EXISTS.
tests/schema/test_generate_schema.py:2109
Functiontest_psycopg_schema_safe
()
tests/schema/test_generate_schema.py:1756
Functiontest_psycopg_table_and_row_comment_generation
()
tests/schema/test_generate_schema.py:1573
Methodtest_pydantic_no_fetch_requires_refresh
(self, db)
tests/test_db_default_insert.py:258
Functiontest_q_bad_join_type
()
tests/test_q.py:91
Functiontest_q_basic
()
tests/test_q.py:15
Functiontest_q_call_annotations_resolved
(db)
tests/test_q.py:286
Functiontest_q_call_basic
(int_fields_context)
tests/test_q.py:159
Functiontest_q_call_basic_and
(int_fields_context)
tests/test_q.py:165
Functiontest_q_call_basic_or
(int_fields_context)
tests/test_q.py:171
Functiontest_q_call_complex_char
(char_fields_context)
tests/test_q.py:219
Functiontest_q_call_complex_char2
(char_fields_context)
tests/test_q.py:228
Functiontest_q_call_complex_char3
(char_fields_context)
tests/test_q.py:241
Functiontest_q_call_complex_int
(int_fields_context)
tests/test_q.py:201
Functiontest_q_call_complex_int2
(int_fields_context)
tests/test_q.py:207
Functiontest_q_call_complex_int3
(int_fields_context)
tests/test_q.py:213
Functiontest_q_call_multiple_and
(int_fields_context)
tests/test_q.py:177
Functiontest_q_call_multiple_and2
(int_fields_context)
tests/test_q.py:189
Functiontest_q_call_multiple_or
(int_fields_context)
tests/test_q.py:183
Functiontest_q_call_multiple_or2
(int_fields_context)
tests/test_q.py:195
Functiontest_q_call_with_blank_and
(char_fields_context)
tests/test_q.py:250
Functiontest_q_call_with_blank_and2
(char_fields_context)
tests/test_q.py:262
Functiontest_q_call_with_blank_and3
(char_fields_context)
tests/test_q.py:274
Functiontest_q_call_with_blank_or
(char_fields_context)
tests/test_q.py:256
Functiontest_q_call_with_blank_or2
(char_fields_context)
tests/test_q.py:268
Functiontest_q_call_with_blank_or3
(char_fields_context)
tests/test_q.py:280
Functiontest_q_compound
()
tests/test_q.py:22
Functiontest_q_compound_and
()
tests/test_q.py:58
Functiontest_q_compound_and_notq
()
tests/test_q.py:81
Functiontest_q_compound_or
()
tests/test_q.py:40
Functiontest_q_compound_or_notq
()
tests/test_q.py:76
Functiontest_q_equality
()
tests/test_q.py:110
Functiontest_q_notq
()
tests/test_q.py:86
Functiontest_q_object_backward_related_query
(db)
tests/test_filtering.py:73
Functiontest_q_object_related_query
(db)
tests/test_filtering.py:85
Functiontest_q_object_when
(db, intfields_data)
tests/test_case_when.py:56
Functiontest_q_partial_and
()
tests/test_q.py:96
Functiontest_q_partial_or
()
tests/test_q.py:103
Functiontest_query_parameterization
(query_api_db)
tests/test_query_api.py:98
Functiontest_query_user
(db)
examples/pytest/test_example.py:14
Functiontest_query_without_app
()
examples/fastapi/_tests.py:182
Functiontest_random_hex_produces_dialect_specific_sql
RandomHex should produce different SQL for each dialect.
tests/migrations/test_schema_editor_backends.py:514
Functiontest_raw
(db)
tests/test_model_methods.py:495
Functiontest_raw_sql_count
(db)
tests/test_queryset.py:789
Functiontest_raw_sql_filter
(db)
tests/test_queryset.py:806
Functiontest_raw_sql_select
(db)
tests/test_queryset.py:797
Functiontest_rawsql_annotation_referenced_in_annotation
(db)
tests/test_queryset.py:843
Functiontest_reconnect
Test reconnection after connection expiry.
tests/backends/test_reconnect.py:11
Functiontest_reconnect_transaction_start
Test reconnection at transaction start.
tests/backends/test_reconnect.py:28
Functiontest_recorder_quotes_mssql_identifiers
()
tests/migrations/test_recorder.py:37
Functiontest_recorder_quotes_mysql_identifiers
()
tests/migrations/test_recorder.py:22
Functiontest_recorder_reads_and_writes
()
tests/migrations/test_runtime_migrations.py:388
Functiontest_recursive
(db)
tests/test_relations.py:599
Functiontest_refresh_from_db
(db)
tests/test_update.py:204
Functiontest_regex_filter
(db)
tests/test_posix_regex_filter.py:9
Functiontest_regex_filter_works_with_null_field_postgres
(db)
tests/test_posix_regex_filter.py:20
Functiontest_regex_filter_works_with_null_field_sqlite
(db)
tests/test_posix_regex_filter.py:35
Functiontest_regular_field_describe
Test that regular fields have both flags as False.
tests/test_datetime_migration_integration.py:44
Functiontest_relation_with_unique
(db)
tests/test_relations_with_unique.py:8
Functiontest_relations
(db)
tests/test_relations.py:37
Functiontest_relations_values_related_m2m
(benchmark, create_team_with_participants)
tests/benchmarks/test_relations.py:6
Functiontest_remove_check_constraint_generates_sql
remove_constraint with CheckConstraint generates DROP CONSTRAINT SQL.
tests/migrations/test_schema_editor_constraints.py:485
Functiontest_remove_constraint_fallback_with_fakeclient
With FakeClient (no introspection) falls back to deterministic uid_ name.
tests/migrations/test_schema_editor_constraints.py:185
Functiontest_remove_constraint_resolves_fk_for_introspection
remove_constraint with FK field name resolves to DB column for introspection query.
tests/migrations/test_schema_editor_constraints.py:389
Functiontest_remove_constraint_uses_introspected_name
remove_constraint should use the introspected name instead of uid_.
tests/migrations/test_schema_editor_constraints.py:145
Functiontest_remove_field
RemoveField drops a column from a real table.
tests/migrations/test_operations_real_db.py:317
Functiontest_remove_field
(state_with_model: State)
tests/migrations/test_operations_state.py:393
Functiontest_remove_field_error_message_includes_field_name
RemoveField.state_forward() error should include the missing field name.
tests/migrations/test_operations_database.py:406
Functiontest_remove_field_generates_drop_column_sql
()
tests/migrations/test_schema_editor_sql.py:70
Functiontest_remove_field_generates_sql
RemoveField should generate ALTER TABLE ... DROP COLUMN SQL.
tests/migrations/test_operations_database.py:425
Functiontest_remove_field_relational
( state_with_two_models: State, field_class: type[ForeignKeyFieldInstance | OneToOneFieldInstance | Ma
tests/migrations/test_operations_state.py:411
Functiontest_remove_index_operation_runs_sql
()
tests/migrations/test_operations_database.py:142
Functiontest_rename_constraint_backward_runs_sql
()
tests/migrations/test_operations_database.py:256
Functiontest_rename_constraint_resolves_fk_fields
rename_constraint on FK model uses resolved column names.
tests/migrations/test_schema_editor_constraints.py:407
Functiontest_rename_index_operation_runs_sql
()
tests/migrations/test_operations_database.py:163
Functiontest_rename_model
RenameModel renames a table in the real database. Uses default table names (lowercased model name) because RenameModel only renames the under
tests/migrations/test_operations_real_db.py:368
Functiontest_rename_model_generates_sql
RenameModel should generate ALTER TABLE ... RENAME TO SQL when table name changes.
tests/migrations/test_operations_database.py:444
Functiontest_rename_model_unregisters_old_state
()
tests/migrations/test_operations_rename_model_state.py:9
Functiontest_rename_with_fk
( state_with_model: State, field_class: type[ForeignKeyFieldInstance | OneToOneFieldInstance | ManyToM
tests/migrations/test_operations_state.py:229
Functiontest_render_value_now_still_works
render_value() still serializes Now correctly (regression check).
tests/fields/test_db_default.py:820
Functiontest_render_value_random_hex
render_value() serializes RandomHex as RandomHex(), not as SqlDefault(...).
tests/fields/test_db_default.py:794
Functiontest_render_value_sql_default_still_works
render_value() still serializes plain SqlDefault correctly (regression check).
tests/fields/test_db_default.py:807
Functiontest_render_value_with_now
render_value() preserves Now() in migration files.
tests/fields/test_db_default.py:770
Functiontest_render_value_with_sql_default
render_value() preserves SqlDefault in migration files.
tests/fields/test_db_default.py:782
Functiontest_repr
(tournament_model, tournament_model_unsaved)
tests/test_model_methods.py:206
Methodtest_repr
(self)
tests/test_db_default_insert.py:29
Methodtest_require_context_raises_when_no_context
require_context raises when no context is active. Note: With the new architecture, Tortoise.init() creates a default context, so this
tests/test_context.py:97
Methodtest_require_context_returns_active_context
require_context returns the active context when one exists.
tests/test_context.py:116
Functiontest_required_by_default
()
tests/fields/test_common.py:8
Methodtest_required_false_with_db_default
(self)
tests/test_db_default_insert.py:47
Functiontest_reset
(conn_handler)
tests/test_connection.py:242
Functiontest_reset_queryset_on_query
(db)
tests/test_relations.py:92
← previousnext →3,301–3,400 of 3,850, ranked by callers