You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Features:
* .values() and .values_list() now default to all fields if none are specified.
* generate_schema() now generates well-formatted DDL SQL statements.
* Added TruncationTestCase testing class that truncates tables to allow faster testing of transactions. This allows tests to run 20% faster on SQLite, and about 7× faster for MySQL on my local system. (PG is 2×)
* Cleaned up the examples a bit
* Re-did generate_schema example & turned into test case
* A new recursive-lookup example & turned into test case
Bugfixes:
* Fixed state leak between database drivers which could cause incorrect DDL generation.
* Fixed missing table/column comment generation.
* Fixed comment generation to escape properly for SQLite
* Fixed comment generation for PostgreSQL to not duplicate comments
Chores:
* Minor tweaking to tests to run with one process to simplify stack traces
* Lots of small formatting/linting fixes
* Fixed requirements generation to work right on Py3.7
* Some documentation cleanup
* Sphinx 2.1 breaks badly with the documentation theme, and <2 currently gives the best result, so force it to an older version for the forseeable future.
Copy file name to clipboardexpand all lines: docs/index.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Why was Tortoise ORM built?
22
22
---------------------------
23
23
24
24
Python has many existing and mature ORMs, unfortunately they are designed with an opposing paradigm of how I/O gets processed.
25
-
``asyncio`` is relatively new technology that has a very different concurrency model, and the largest change is regarding how I/O is handled.
25
+
``asyncio`` is relatively new technology that has a different concurrency model, and the largest change is regarding how I/O is handled.
26
26
27
27
However, Tortoise ORM is not first attempt of building ``asyncio`` ORM, there are many cases of developers attempting to map synchronous python ORMs to the async world, initial attempts did not have a clean API.
0 commit comments