参考¶
- 设置
- 数据库
- 模型
- 字段
- 用法
- 参考
- 基础字段
- 数据字段
- 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
- 关系字段
- DB 特定字段
- 扩展字段
- 索引
- 时区
- 模式创建
- 查询 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
- 外键
- 一对一
- 多对多
- 过滤
- 复杂预取
- QuerySet
- 管理器
- 函数和聚合
- 表达式
- 事务
- 连接
- 异常
- 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
- 信号
- 迁移
- 验证器
- 用法
- 内置验证器
- 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
- 自定义验证器
- 日志记录
- 路由器
- TortoiseCLI