Table Of ContentsΒΆ
- Tortoise ORM
- Getting started
- Reference
- Set up
- Databases
- Models
- Fields
- Usage
- Reference
- Base Field
- Data Fields
- tortoise.fields.data.BigIntField
- tortoise.fields.data.BinaryField
- tortoise.fields.data.BooleanField
- tortoise.fields.data.CharEnumField
- tortoise.fields.data.CharField
- tortoise.fields.data.DateField
- tortoise.fields.data.DatetimeField
- tortoise.fields.data.DecimalField
- tortoise.fields.data.FloatField
- tortoise.fields.data.IntEnumField
- tortoise.fields.data.IntField
- tortoise.fields.data.JSONField
- tortoise.fields.data.SmallIntField
- tortoise.fields.data.TextField
- tortoise.fields.data.TimeDeltaField
- tortoise.fields.data.UUIDField
- Relational Fields
- DB Specific Fields
- Extending A Field
- Indexes
- Timezone
- Schema Creation
- Query API
- QuerySet
- tortoise.queryset.QuerySetSingle
- tortoise.queryset.QuerySet
- __getitem__
- all
- annotate
- as_query
- bulk_create
- bulk_update
- count
- delete
- distinct
- exclude
- exists
- explain
- filter
- first
- force_index
- get
- get_or_none
- group_by
- in_bulk
- limit
- offset
- only
- order_by
- prefetch_related
- raw
- resolve_filters
- resolve_ordering
- select_for_update
- select_related
- sql
- update
- use_index
- using_db
- values
- values_list
- tortoise.queryset.BulkCreateQuery
- tortoise.queryset.BulkUpdateQuery
- tortoise.queryset.CountQuery
- tortoise.queryset.DeleteQuery
- tortoise.queryset.ExistsQuery
- tortoise.queryset.FieldSelectQuery
- tortoise.queryset.RawSQLQuery
- tortoise.queryset.UpdateQuery
- tortoise.queryset.ValuesListQuery
- tortoise.queryset.ValuesQuery
- Foreign Key
- One to One
- Many to Many
- Filtering
- Complex prefetch
- QuerySet
- Manager
- Functions & Aggregates
- Expressions
- Transactions
- Connections
- Exceptions
- tortoise.exceptions.BaseORMException
- tortoise.exceptions.ConfigurationError
- tortoise.exceptions.DBConnectionError
- tortoise.exceptions.DoesNotExist
- tortoise.exceptions.FieldError
- tortoise.exceptions.IncompleteInstanceError
- tortoise.exceptions.IntegrityError
- tortoise.exceptions.MultipleObjectsReturned
- tortoise.exceptions.NoValuesFetched
- tortoise.exceptions.NotExistOrMultiple
- tortoise.exceptions.ObjectDoesNotExistError
- tortoise.exceptions.OperationalError
- tortoise.exceptions.ParamsError
- tortoise.exceptions.TransactionManagementError
- tortoise.exceptions.UnSupportedError
- tortoise.exceptions.ValidationError
- Signals
- Migration
- Validators
- Usage
- Built-in Validators
- tortoise.validators.CommaSeparatedIntegerListValidator
- tortoise.validators.MaxLengthValidator
- tortoise.validators.MaxValueValidator
- tortoise.validators.MinLengthValidator
- tortoise.validators.MinValueValidator
- tortoise.validators.RegexValidator
- tortoise.validators.Validator
- tortoise.validators.validate_ipv46_address
- tortoise.validators.validate_ipv4_address
- tortoise.validators.validate_ipv6_address
- Custom Validator
- Logging
- Router
- TortoiseCLI
- Examples
- Contrib
- Linters
- Pydantic serialisation
- UnitTest support
- Usage
- Test Runners
- Reference
- tortoise.contrib.test.IsolatedTestCase
- tortoise.contrib.test.SimpleTestCase
- tortoise.contrib.test.SkipTest
- tortoise.contrib.test.TestCase
- tortoise.contrib.test.TruncationTestCase
- tortoise.contrib.test.env_initializer
- tortoise.contrib.test.expectedFailure
- tortoise.contrib.test.finalizer
- tortoise.contrib.test.getDBConfig
- tortoise.contrib.test.init_memory_sqlite
- tortoise.contrib.test.initializer
- tortoise.contrib.test.requireCapability
- tortoise.contrib.test.skip
- tortoise.contrib.test.skipIf
- tortoise.contrib.test.skipUnless
- Tortoise-ORM FastAPI integration
- Tortoise-ORM Quart integration
- Tortoise-ORM Sanic integration
- Tortoise-ORM Starlette integration
- Tortoise-ORM aiohttp integration
- MySQL
- Postgres
- Tortoise-ORM BlackSheep integration
- Changelog
- Roadmap
- Contribution Guide
- Thanks