Path to this page:
./
databases/py-tortoise-orm,
Easy async ORM for Python, built with relations in mind
Branch: CURRENT,
Version: 0.25.1,
Package name: py312-tortoise-orm-0.25.1,
Maintainer: pkgsrc-usersTortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) inspired
by Django.
Tortoise ORM was build with relations in mind and admiration for the excellent
and popular Django ORM. It's engraved in it's design that you are working not
with just tables, you work with relational data.
Required to run:[
time/py-pytz] [
time/py-iso8601] [
devel/py-uvloop] [
databases/py-aiosqlite] [
time/py-ciso8601] [
databases/py-pypika] [
textproc/py-rapidjson] [
lang/python310]
Master sites:
Filesize: 125.333 KB
Version history: (Expand)
- (2025-06-05) Updated to version: py312-tortoise-orm-0.25.1
- (2025-04-23) Updated to version: py312-tortoise-orm-0.25.0
- (2025-03-04) Updated to version: py312-tortoise-orm-0.24.2
- (2025-02-26) Updated to version: py312-tortoise-orm-0.24.1
- (2025-01-23) Updated to version: py312-tortoise-orm-0.24.0
- (2025-01-22) Updated to version: py312-tortoise-orm-0.22.2nb1
CVS history: (Expand)
2025-06-05 16:48:15 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-tortoise-orm: updated to 0.25.1
0.25.1
Changed
Force async task switch every 2000 rows when converting db objects to python \
objects to avoid blocking the event loop
Added
Add no_key parameter to queryset.select_for_update.
F() supports referencing JSONField attributes, e.g. \
F("json_field__custom_field__nested_id")
|
2025-04-21 08:01:09 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-tortoise-orm: updated to 0.25.0
0.25.0
Fixed
Fix pydantic_model_creator incompatibility with Pydantic 2.11
Changed
Skip database selection if the router is not configured to improve performance
.values(), .values_list() and .only() cannot be used together
Added
.only supports selecting related fields, e.g. .only(“related__field”)
Fixed
Fix pydantic_model_creator incompatibility with Pydantic 2.11
|
2025-03-04 07:07:26 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-tortoise-orm: updated to 0.24.2
0.24.2
Fixed
Fix model with multi m2m fields generates wrong references name
Fix using reserved words in order_by
Fix installing tortoise-orm with poetry 2
Changed
Use 'unique' instead of 'create_unique_index' for m2m field
|
2025-02-26 09:15:14 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-tortoise-orm: updated to 0.24.1
0.24.1
Added
- Implement __contains, __contained_by, __overlap and __len for ArrayField
Fixed
- Fix update pk field raises unfriendly error
- Using `.distinct()` with an annotation and `.order_by()` produces invalid SQL \
for PostgreSQL
|
2025-01-23 17:39:37 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-tortoise-orm: updated to 0.24.0
0.24.0
Fixed
- Rename pypika to pypika_tortoise for fixing package name conflict
- Concurrent connection pool initialization
- `_get_dialects`: support properties
Changed
- Drop support for Python3.8
- Optimize field conversion to database format to speed up `create` and `bulk_create`
- Improved query performance by optimizing SQL generation
0.23.0
Added
- Implement savepoints for transactions
- Added type validation for foreign key fields to ensure type safety. Now raises \
`ValidationError` when assigning foreign key values with incorrect model types
Fixed
- Fixed a deadlock in three level nested transactions
- Fix backward_relations in PydanticMeta
|
2025-01-22 14:43:39 by Thomas Klausner | Files touched by this commit (2) |
Log message:
py-tortoise-orm: fix PLIST for latest poetry-core
Bump PKGREVISION
|
2024-12-11 09:29:11 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-tortoise-orm: updated to 0.22.2
0.22.2
Fixed
- Fix bug related to `Connector.div` in combined expressions.
- Fix recovery in case of database downtime
Changed
- Parametrizes UPDATE, DELETE, bulk update and create operations
- Parametrizes related field queries
Added
- CharEnumField and IntEnumField is supported by pydantic_model_creator
|
2024-11-25 14:04:12 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-tortoise-orm: updated to 0.22.1
0.22.1
Fixed
- Fix unable to use ManyToManyField if OneToOneField passed as Primary Key
- Fix sorting by Term (e.g. RawSQL)
|