MCPcopy Create free account

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

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

Functiontest_boolean_field_equal_false
(db, boolean_fields_data)
tests/test_filters.py:234
Functiontest_boolean_field_equal_false2
(db, boolean_fields_data)
tests/test_filters.py:248
Functiontest_boolean_field_equal_null
(db, boolean_fields_data)
tests/test_filters.py:255
Functiontest_boolean_field_equal_true
(db, boolean_fields_data)
tests/test_filters.py:225
Functiontest_boolean_field_equal_true2
(db, boolean_fields_data)
tests/test_filters.py:241
Functiontest_bulk_create
Test basic bulk create operation.
tests/test_bulk.py:20
Methodtest_bulk_create_all_defaults
(self, db)
tests/test_db_default_insert.py:141
Methodtest_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
Methodtest_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
Functiontest_bulk_create_autogenerated_pk
(sql_context)
tests/test_sql.py:236
Functiontest_bulk_create_fail
Test bulk create fails with duplicate names.
tests/test_bulk.py:161
Functiontest_bulk_create_few_fields
(benchmark)
tests/benchmarks/test_bulk_create.py:7
Functiontest_bulk_create_ignore_conflicts
Test bulk create with ignore_conflicts option.
tests/test_bulk.py:202
Functiontest_bulk_create_in_transaction
Test bulk create inside transaction.
tests/test_bulk.py:139
Functiontest_bulk_create_in_transaction_fail
Test bulk create fails inside transaction with duplicates.
tests/test_bulk.py:180
Functiontest_bulk_create_many_fields
(benchmark, gen_many_fields_data)
tests/benchmarks/test_bulk_create.py:26
Functiontest_bulk_create_mix_specified
Test bulk create with mix of specified and auto-generated IDs.
tests/test_bulk.py:94
Methodtest_bulk_create_mixed_raises
Mixed usage (some default, some explicit) for same field raises OperationalError.
tests/test_db_default_insert.py:163
Functiontest_bulk_create_more_that_one_update_fields
Test bulk create with multiple update_fields on conflict.
tests/test_bulk.py:48
Functiontest_bulk_create_specified_pk
(sql_context)
tests/test_sql.py:258
Methodtest_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
Functiontest_bulk_create_update_fields
Test bulk create with update_fields on conflict.
tests/test_bulk.py:34
Functiontest_bulk_create_uuidpk
Test bulk create with UUID primary key model.
tests/test_bulk.py:128
Functiontest_bulk_create_uuidpk_fail
Test bulk create fails with duplicate UUID PKs.
tests/test_bulk.py:171
Functiontest_bulk_create_uuidpk_in_transaction
Test bulk create with UUID PK inside transaction.
tests/test_bulk.py:150
Functiontest_bulk_create_uuidpk_in_transaction_fail
Test bulk create with UUID PK fails in transaction with duplicates.
tests/test_bulk.py:192
Functiontest_bulk_create_with_batch_size
Test bulk create with batch_size parameter.
tests/test_bulk.py:68
Functiontest_bulk_create_with_specified
Test bulk create with specified IDs.
tests/test_bulk.py:81
Functiontest_bulk_renamed_pk_source_field
(db)
tests/test_update.py:101
Functiontest_bulk_update
(db)
tests/test_update.py:45
Functiontest_bulk_update
(sql_context)
tests/test_sql.py:215
Functiontest_bulk_update_custom_field
(db)
tests/test_update.py:144
Functiontest_bulk_update_datetime
(db)
tests/test_update.py:56
Functiontest_bulk_update_json_value
(db)
tests/test_update.py:115
Functiontest_bulk_update_pk_non_id
(db)
tests/test_update.py:72
Functiontest_bulk_update_pk_uuid
(db)
tests/test_update.py:87
Functiontest_bulk_update_smallint_none
(db)
tests/test_update.py:130
Functiontest_by_name__awaited
(db, uuid_models)
tests/fields/test_fk_uuid.py:105
Functiontest_by_name__created_prefetched
(db, uuid_models)
tests/fields/test_fk_uuid.py:77
Functiontest_by_name__re_awaited
(db, uuid_models)
tests/fields/test_fk_uuid.py:95
Functiontest_by_name__unfetched
(db, uuid_models)
tests/fields/test_fk_uuid.py:86
Functiontest_callable_still_raises_with_updated_message
Callable still raises with SqlDefault in message.
tests/fields/test_db_default.py:608
Functiontest_case_insensitive_regex_filter_postgres
(db)
tests/test_posix_regex_filter.py:50
Functiontest_case_insensitive_regex_filter_sqlite
(db)
tests/test_posix_regex_filter.py:61
Functiontest_case_when_in_group_by
(db, intfields_data)
tests/test_case_when.py:240
Functiontest_case_when_in_where
(db, intfields_data)
tests/test_case_when.py:184
Functiontest_cast
(db)
tests/fields/test_char.py:45
Functiontest_cast_decimal
(db)
tests/fields/test_float.py:46
Functiontest_cast_int
(db)
tests/fields/test_float.py:39
Functiontest_caught_exception_in_nested_transaction
Test that caught exception in nested transaction only rolls back inner.
tests/test_transactions.py:77
Functiontest_chained_filters_10
Build and execute 10 chained filter queries — _clone() called 20x.
tests/benchmarks/test_hydration.py:99
Functiontest_char_enum_auto_description
()
tests/fields/test_enum.py:221
Functiontest_char_enum_auto_maxlen
()
tests/fields/test_enum.py:211
Functiontest_char_enum_create
(db)
tests/fields/test_enum.py:145
Functiontest_char_enum_defined_maxlen
()
tests/fields/test_enum.py:216
Functiontest_char_enum_manual_description
()
tests/fields/test_enum.py:226
Functiontest_char_enum_update
(db)
tests/fields/test_enum.py:170
Functiontest_char_enum_values
(db)
tests/fields/test_enum.py:186
Functiontest_char_enum_values_list
(db)
tests/fields/test_enum.py:199
Functiontest_char_field_bad_param
(db, char_fields_data)
tests/test_filters.py:37
Functiontest_char_field_contains
(db, char_fields_data)
tests/test_filters.py:140
Functiontest_char_field_endswith
(db, char_fields_data)
tests/test_filters.py:158
Functiontest_char_field_enum
(db, char_fields_data)
tests/test_filters.py:48
Functiontest_char_field_equal
(db, char_fields_data)
tests/test_filters.py:43
Functiontest_char_field_gt
(db, char_fields_data)
tests/test_filters.py:130
Functiontest_char_field_gte
(db, char_fields_data)
tests/test_filters.py:114
Functiontest_char_field_icontains
(db, char_fields_data)
tests/test_filters.py:166
Functiontest_char_field_iendswith
(db, char_fields_data)
tests/test_filters.py:193
Functiontest_char_field_iexact
(db, char_fields_data)
tests/test_filters.py:176
Functiontest_char_field_in
(db, char_fields_data)
tests/test_filters.py:64
Functiontest_char_field_in_empty
(db, char_fields_data)
tests/test_filters.py:72
Functiontest_char_field_isnull
(db, char_fields_data)
tests/test_filters.py:93
Functiontest_char_field_istartswith
(db, char_fields_data)
tests/test_filters.py:183
Functiontest_char_field_lt
(db, char_fields_data)
tests/test_filters.py:135
Functiontest_char_field_lte
(db, char_fields_data)
tests/test_filters.py:122
Functiontest_char_field_not
(db, char_fields_data)
tests/test_filters.py:56
Functiontest_char_field_not_in
(db, char_fields_data)
tests/test_filters.py:77
Functiontest_char_field_not_in_empty
(db, char_fields_data)
tests/test_filters.py:84
Functiontest_char_field_not_isnull
(db, char_fields_data)
tests/test_filters.py:104
Functiontest_char_field_nullability
()
tests/fields/type_checks.py:100
Functiontest_char_field_sorting
(db, char_fields_data)
tests/test_filters.py:203
Functiontest_char_field_startswith
(db, char_fields_data)
tests/test_filters.py:148
Functiontest_char_fk_bad_param
(db, char_fk_data)
tests/test_filters.py:319
Functiontest_char_fk_equal
(db, char_fk_data)
tests/test_filters.py:327
Functiontest_char_fk_gt
(db, char_fk_data)
tests/test_filters.py:396
Functiontest_char_fk_gte
(db, char_fk_data)
tests/test_filters.py:386
Functiontest_char_fk_in
(db, char_fk_data)
tests/test_filters.py:337
Functiontest_char_fk_in_empty
(db, char_fk_data)
tests/test_filters.py:345
Functiontest_char_fk_isnull
(db, char_fk_data)
tests/test_filters.py:366
Functiontest_char_fk_lt
(db, char_fk_data)
tests/test_filters.py:401
Functiontest_char_fk_lte
(db, char_fk_data)
tests/test_filters.py:391
Functiontest_char_fk_not
(db, char_fk_data)
tests/test_filters.py:332
Functiontest_char_fk_not_in
(db, char_fk_data)
tests/test_filters.py:350
Functiontest_char_fk_not_in_empty
(db, char_fk_data)
tests/test_filters.py:357
Functiontest_char_fk_not_isnull
(db, char_fk_data)
tests/test_filters.py:376
Functiontest_char_fk_sorting
(db, char_fk_data)
tests/test_filters.py:406
Functiontest_char_fuzz
Test character field handling with various dodgy/edge-case strings.
tests/test_fuzz.py:108
Methodtest_char_m2m
(self, db)
tests/test_primary_key.py:130
Methodtest_char_pk
(self, db)
tests/test_primary_key.py:102
Methodtest_char_pk_fk
(self, db)
tests/test_primary_key.py:111
← previousnext →2,201–2,300 of 3,850, ranked by callers