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_boolean_field_equal_false
(db, boolean_fields_data)
tests/test_filters.py:234
Function
test_boolean_field_equal_false2
(db, boolean_fields_data)
tests/test_filters.py:248
Function
test_boolean_field_equal_null
(db, boolean_fields_data)
tests/test_filters.py:255
Function
test_boolean_field_equal_true
(db, boolean_fields_data)
tests/test_filters.py:225
Function
test_boolean_field_equal_true2
(db, boolean_fields_data)
tests/test_filters.py:241
Function
test_bulk_create
Test basic bulk create operation.
tests/test_bulk.py:20
Method
test_bulk_create_all_defaults
(self, db)
tests/test_db_default_insert.py:141
Method
test_bulk_create_all_explicit_values
When all instances provide explicit values for a db_default field, column is included.
tests/test_db_default_insert.py:152
Method
test_bulk_create_allowed_with_fetch_false
bulk_create with db_default fields on fetch_db_defaults=False model should work.
tests/test_db_default_insert.py:182
Function
test_bulk_create_autogenerated_pk
(sql_context)
tests/test_sql.py:236
Function
test_bulk_create_fail
Test bulk create fails with duplicate names.
tests/test_bulk.py:161
Function
test_bulk_create_few_fields
(benchmark)
tests/benchmarks/test_bulk_create.py:7
Function
test_bulk_create_ignore_conflicts
Test bulk create with ignore_conflicts option.
tests/test_bulk.py:202
Function
test_bulk_create_in_transaction
Test bulk create inside transaction.
tests/test_bulk.py:139
Function
test_bulk_create_in_transaction_fail
Test bulk create fails inside transaction with duplicates.
tests/test_bulk.py:180
Function
test_bulk_create_many_fields
(benchmark, gen_many_fields_data)
tests/benchmarks/test_bulk_create.py:26
Function
test_bulk_create_mix_specified
Test bulk create with mix of specified and auto-generated IDs.
tests/test_bulk.py:94
Method
test_bulk_create_mixed_raises
Mixed usage (some default, some explicit) for same field raises OperationalError.
tests/test_db_default_insert.py:163
Function
test_bulk_create_more_that_one_update_fields
Test bulk create with multiple update_fields on conflict.
tests/test_bulk.py:48
Function
test_bulk_create_specified_pk
(sql_context)
tests/test_sql.py:258
Method
test_bulk_create_sql_default_all_defaults_omits_column
bulk_create with SqlDefault fields where all use default should omit the column.
tests/test_db_default_insert.py:171
Function
test_bulk_create_update_fields
Test bulk create with update_fields on conflict.
tests/test_bulk.py:34
Function
test_bulk_create_uuidpk
Test bulk create with UUID primary key model.
tests/test_bulk.py:128
Function
test_bulk_create_uuidpk_fail
Test bulk create fails with duplicate UUID PKs.
tests/test_bulk.py:171
Function
test_bulk_create_uuidpk_in_transaction
Test bulk create with UUID PK inside transaction.
tests/test_bulk.py:150
Function
test_bulk_create_uuidpk_in_transaction_fail
Test bulk create with UUID PK fails in transaction with duplicates.
tests/test_bulk.py:192
Function
test_bulk_create_with_batch_size
Test bulk create with batch_size parameter.
tests/test_bulk.py:68
Function
test_bulk_create_with_specified
Test bulk create with specified IDs.
tests/test_bulk.py:81
Function
test_bulk_renamed_pk_source_field
(db)
tests/test_update.py:101
Function
test_bulk_update
(db)
tests/test_update.py:45
Function
test_bulk_update
(sql_context)
tests/test_sql.py:215
Function
test_bulk_update_custom_field
(db)
tests/test_update.py:144
Function
test_bulk_update_datetime
(db)
tests/test_update.py:56
Function
test_bulk_update_json_value
(db)
tests/test_update.py:115
Function
test_bulk_update_pk_non_id
(db)
tests/test_update.py:72
Function
test_bulk_update_pk_uuid
(db)
tests/test_update.py:87
Function
test_bulk_update_smallint_none
(db)
tests/test_update.py:130
Function
test_by_name__awaited
(db, uuid_models)
tests/fields/test_fk_uuid.py:105
Function
test_by_name__created_prefetched
(db, uuid_models)
tests/fields/test_fk_uuid.py:77
Function
test_by_name__re_awaited
(db, uuid_models)
tests/fields/test_fk_uuid.py:95
Function
test_by_name__unfetched
(db, uuid_models)
tests/fields/test_fk_uuid.py:86
Function
test_callable_still_raises_with_updated_message
Callable still raises with SqlDefault in message.
tests/fields/test_db_default.py:608
Function
test_case_insensitive_regex_filter_postgres
(db)
tests/test_posix_regex_filter.py:50
Function
test_case_insensitive_regex_filter_sqlite
(db)
tests/test_posix_regex_filter.py:61
Function
test_case_when_in_group_by
(db, intfields_data)
tests/test_case_when.py:240
Function
test_case_when_in_where
(db, intfields_data)
tests/test_case_when.py:184
Function
test_cast
(db)
tests/fields/test_char.py:45
Function
test_cast_decimal
(db)
tests/fields/test_float.py:46
Function
test_cast_int
(db)
tests/fields/test_float.py:39
Function
test_caught_exception_in_nested_transaction
Test that caught exception in nested transaction only rolls back inner.
tests/test_transactions.py:77
Function
test_chained_filters_10
Build and execute 10 chained filter queries — _clone() called 20x.
tests/benchmarks/test_hydration.py:99
Function
test_char_enum_auto_description
()
tests/fields/test_enum.py:221
Function
test_char_enum_auto_maxlen
()
tests/fields/test_enum.py:211
Function
test_char_enum_create
(db)
tests/fields/test_enum.py:145
Function
test_char_enum_defined_maxlen
()
tests/fields/test_enum.py:216
Function
test_char_enum_manual_description
()
tests/fields/test_enum.py:226
Function
test_char_enum_update
(db)
tests/fields/test_enum.py:170
Function
test_char_enum_values
(db)
tests/fields/test_enum.py:186
Function
test_char_enum_values_list
(db)
tests/fields/test_enum.py:199
Function
test_char_field_bad_param
(db, char_fields_data)
tests/test_filters.py:37
Function
test_char_field_contains
(db, char_fields_data)
tests/test_filters.py:140
Function
test_char_field_endswith
(db, char_fields_data)
tests/test_filters.py:158
Function
test_char_field_enum
(db, char_fields_data)
tests/test_filters.py:48
Function
test_char_field_equal
(db, char_fields_data)
tests/test_filters.py:43
Function
test_char_field_gt
(db, char_fields_data)
tests/test_filters.py:130
Function
test_char_field_gte
(db, char_fields_data)
tests/test_filters.py:114
Function
test_char_field_icontains
(db, char_fields_data)
tests/test_filters.py:166
Function
test_char_field_iendswith
(db, char_fields_data)
tests/test_filters.py:193
Function
test_char_field_iexact
(db, char_fields_data)
tests/test_filters.py:176
Function
test_char_field_in
(db, char_fields_data)
tests/test_filters.py:64
Function
test_char_field_in_empty
(db, char_fields_data)
tests/test_filters.py:72
Function
test_char_field_isnull
(db, char_fields_data)
tests/test_filters.py:93
Function
test_char_field_istartswith
(db, char_fields_data)
tests/test_filters.py:183
Function
test_char_field_lt
(db, char_fields_data)
tests/test_filters.py:135
Function
test_char_field_lte
(db, char_fields_data)
tests/test_filters.py:122
Function
test_char_field_not
(db, char_fields_data)
tests/test_filters.py:56
Function
test_char_field_not_in
(db, char_fields_data)
tests/test_filters.py:77
Function
test_char_field_not_in_empty
(db, char_fields_data)
tests/test_filters.py:84
Function
test_char_field_not_isnull
(db, char_fields_data)
tests/test_filters.py:104
Function
test_char_field_nullability
()
tests/fields/type_checks.py:100
Function
test_char_field_sorting
(db, char_fields_data)
tests/test_filters.py:203
Function
test_char_field_startswith
(db, char_fields_data)
tests/test_filters.py:148
Function
test_char_fk_bad_param
(db, char_fk_data)
tests/test_filters.py:319
Function
test_char_fk_equal
(db, char_fk_data)
tests/test_filters.py:327
Function
test_char_fk_gt
(db, char_fk_data)
tests/test_filters.py:396
Function
test_char_fk_gte
(db, char_fk_data)
tests/test_filters.py:386
Function
test_char_fk_in
(db, char_fk_data)
tests/test_filters.py:337
Function
test_char_fk_in_empty
(db, char_fk_data)
tests/test_filters.py:345
Function
test_char_fk_isnull
(db, char_fk_data)
tests/test_filters.py:366
Function
test_char_fk_lt
(db, char_fk_data)
tests/test_filters.py:401
Function
test_char_fk_lte
(db, char_fk_data)
tests/test_filters.py:391
Function
test_char_fk_not
(db, char_fk_data)
tests/test_filters.py:332
Function
test_char_fk_not_in
(db, char_fk_data)
tests/test_filters.py:350
Function
test_char_fk_not_in_empty
(db, char_fk_data)
tests/test_filters.py:357
Function
test_char_fk_not_isnull
(db, char_fk_data)
tests/test_filters.py:376
Function
test_char_fk_sorting
(db, char_fk_data)
tests/test_filters.py:406
Function
test_char_fuzz
Test character field handling with various dodgy/edge-case strings.
tests/test_fuzz.py:108
Method
test_char_m2m
(self, db)
tests/test_primary_key.py:130
Method
test_char_pk
(self, db)
tests/test_primary_key.py:102
Method
test_char_pk_fk
(self, db)
tests/test_primary_key.py:111
← previous
next →
2,201–2,300 of 3,850, ranked by callers