MCPcopy Create free account

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

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

Methodtest_uuid_pk
(self, db)
tests/test_primary_key.py:29
Methodtest_uuid_pk_default
(self, db)
tests/test_primary_key.py:38
Methodtest_uuid_pk_fk
(self, db)
tests/test_primary_key.py:48
Functiontest_validate_catches_permanently_unresolved_relation
validate_relations_initialized should raise when a FK target model is never created, ensuring silent corruption cannot happen.
tests/migrations/test_operations_state.py:189
Functiontest_validate_dict
Test JSON field with validate from dict.
tests/fields/test_json.py:355
Functiontest_validate_list
Test JSON field with validate from list.
tests/fields/test_json.py:363
Functiontest_validate_str
Test JSON field with validate from string.
tests/fields/test_json.py:347
Functiontest_validator_comma_separated_integer_list
(db)
tests/test_validators.py:79
Functiontest_validator_ipv4
(db)
tests/test_validators.py:57
Functiontest_validator_ipv46
(db)
tests/test_validators.py:71
Functiontest_validator_ipv6
(db)
tests/test_validators.py:64
Functiontest_validator_max_length
(db)
tests/test_validators.py:17
Functiontest_validator_max_value
(db)
tests/test_validators.py:44
Functiontest_validator_min_length
(db)
tests/test_validators.py:24
Functiontest_validator_min_value
(db)
tests/test_validators.py:31
Functiontest_validator_regex
(db)
tests/test_validators.py:10
Functiontest_values
(sql_context)
tests/test_sql.py:122
Functiontest_values
(db)
tests/fields/test_char.py:52
Functiontest_values
(db)
tests/fields/test_bool.py:34
Functiontest_values
Test JSON field in values().
tests/fields/test_json.py:314
Functiontest_values
(db)
tests/fields/test_binary.py:26
Functiontest_values
(db)
tests/fields/test_text.py:26
Functiontest_values
Test array field in values().
tests/fields/test_array.py:42
Functiontest_values
(db)
tests/fields/test_decimal.py:90
Functiontest_values
(db)
tests/fields/test_float.py:53
Functiontest_values_100_rows_many_fields
values() over 100 rows with 8 selected fields.
tests/benchmarks/test_hydration.py:50
Functiontest_values_annotations_length
(db)
tests/test_values.py:204
Functiontest_values_annotations_trim
(db)
tests/test_values.py:230
Functiontest_values_bad_key
(db)
tests/test_values.py:155
Methodtest_values_by_fk
(self, db)
tests/test_source_field.py:289
Functiontest_values_list
(sql_context)
tests/test_sql.py:137
Functiontest_values_list
(db)
tests/fields/test_char.py:59
Functiontest_values_list
(db)
tests/fields/test_bool.py:41
Functiontest_values_list
Test JSON field in values_list().
tests/fields/test_json.py:322
Functiontest_values_list
(db)
tests/fields/test_binary.py:36
Functiontest_values_list
(db)
tests/fields/test_text.py:33
Functiontest_values_list
Test array field in values_list().
tests/fields/test_array.py:51
Functiontest_values_list
(db)
tests/fields/test_decimal.py:98
Functiontest_values_list
(db)
tests/fields/test_float.py:60
Functiontest_values_list_100_rows
values_list() over 100 rows — resolve_to_python_value called per field per row.
tests/benchmarks/test_hydration.py:38
Functiontest_values_list_annotations_length
(db)
tests/test_values.py:192
Functiontest_values_list_annotations_trim
(db)
tests/test_values.py:221
Functiontest_values_list_bad_key
(db)
tests/test_values.py:164
Functiontest_values_list_related_bad_key
(db)
tests/test_values.py:182
Functiontest_values_list_related_fk
(db)
tests/test_values.py:22
Functiontest_values_list_related_fk_itself
(db)
tests/test_values.py:106
Functiontest_values_list_related_m2m
(db)
tests/test_values.py:86
Functiontest_values_list_related_m2m_itself
(db)
tests/test_values.py:144
Functiontest_values_list_related_rfk
(db)
tests/test_values.py:53
Functiontest_values_list_related_rfk_itself
(db)
tests/test_values.py:124
Functiontest_values_list_related_rfk_reuse_query
(db)
tests/test_values.py:62
Functiontest_values_list_select_relation_field
(db)
tests/test_filtering.py:506
Functiontest_values_related_bad_key
(db)
tests/test_values.py:173
Functiontest_values_related_fk
(db)
tests/test_values.py:13
Functiontest_values_related_fk_itself
(db)
tests/test_values.py:97
Functiontest_values_related_m2m
(db)
tests/test_values.py:75
Functiontest_values_related_m2m_itself
(db)
tests/test_values.py:133
Functiontest_values_related_rfk
(db)
tests/test_values.py:31
Functiontest_values_related_rfk_itself
(db)
tests/test_values.py:115
Functiontest_values_related_rfk_reuse_query
(db)
tests/test_values.py:40
Methodtest_values_reverse_relation
(self, db)
tests/test_source_field.py:193
Functiontest_values_select_relation
(db)
tests/test_filtering.py:482
Functiontest_values_select_relation_field
(db)
tests/test_filtering.py:490
Functiontest_values_select_relation_field_name_override
(db)
tests/test_filtering.py:498
Functiontest_values_with_annotations
(db)
tests/test_queryset_reuse.py:86
Functiontest_values_with_custom_function
(db)
tests/test_values.py:243
Functiontest_values_with_json_field_array_attribute
Test F expression with JSON field array attribute.
tests/test_f.py:101
Functiontest_values_with_json_field_attribute
Test F expression with JSON field attribute.
tests/test_f.py:68
Functiontest_values_with_json_field_attribute_of_attribute
Test F expression with nested JSON field attribute.
tests/test_f.py:77
Functiontest_values_with_json_field_int_array_element
Test F expression with JSON field integer array element. Among the supported dialects, only SQLite will return the correct type.
tests/test_f.py:114
Functiontest_values_with_json_field_str_array_element
Test F expression with JSON field string array element.
tests/test_f.py:86
Functiontest_version
()
tests/test_version.py:38
Methodtest_warning
(self)
tests/test_primary_key.py:244
Functiontest_where_and_having
(db)
tests/test_aggregation.py:267
Functiontest_writer_allows_partial_default
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:386
Functiontest_writer_excludes_fk_source_field
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:262
Functiontest_writer_format_create_model_basic
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:68
Functiontest_writer_format_options_indexes_constraints
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:132
Functiontest_writer_format_rename_and_alter
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:99
Functiontest_writer_format_runpython
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:532
Functiontest_writer_handles_enum_fields
Test that IntEnumField and CharEnumField are rendered correctly (not as FieldInstance).
tests/migrations/test_writer.py:487
Functiontest_writer_handles_one_to_one_field
Test that OneToOneField is rendered without unique=True (it's implicit).
tests/migrations/test_writer.py:449
Functiontest_writer_handles_tuple_indexes_in_options
Tuple-style indexes in options should be normalised to Index objects without crashing.
tests/migrations/test_writer.py:190
Functiontest_writer_rejects_lambda_default
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:362
Functiontest_writer_rejects_local_function_default
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:426
Functiontest_writer_rejects_partial_lambda
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:406
Functiontest_writer_renders_fk_field
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:220
Functiontest_writer_schema_with_create_model
Full migration with CreateSchema + CreateModel serializes correctly.
tests/migrations/test_schema_qualified_migrations.py:516
Functiontest_writer_serializes_create_schema
()
tests/migrations/test_schema_qualified_migrations.py:496
Functiontest_writer_serializes_drop_schema
()
tests/migrations/test_schema_qualified_migrations.py:506
Functiontest_writer_serializes_on_delete_enum
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:295
Functiontest_writer_skips_missing_db_index
(tmp_path: Path, monkeypatch)
tests/migrations/test_writer.py:335
Functiontest_wrong_app_init
()
tests/model_setup/test_bad_relation_reference.py:49
Functiontest_wrong_model_init
()
tests/model_setup/test_bad_relation_reference.py:74
Functiontest_zoneinfo
()
tests/fields/test_time.py:736
Methodto_config
(self)
tortoise/config.py:43
Methodto_db_value
(self, value: Any, instance: type[Model] | Model)
tortoise/contrib/mysql/fields.py:43
Methodto_db_value
( self, value: DatetimeFieldQueryValueType | None, instance: type[Model] | Model )
tortoise/fields/data.py:484
Methodto_db_value
( self, value: DateFieldQueryValueType | None, instance: type[Model] | Model )
tortoise/fields/data.py:549
Methodto_db_value
( self, value: datetime.time | datetime.timedelta | None, instance: type[Model] | Mode
tortoise/fields/data.py:611
← previousnext →3,701–3,800 of 3,850, ranked by callers