Async database support for Python
MIT License
Bot releases are hidden (Show)
ACTIVE_TRANSACTIONS
ContextVar plus tests for it. It became unreliable with multithreading.Published by devkral about 2 months ago
poll_interval
parameter (only relevant when using multithreading).Published by devkral about 2 months ago
full_isolation
parameter. Isolate the force_rollback Connection in a thread.batched_iterate
interface of Connection
differed from the one of Database
.iterate
interface of Connection
differed from the one of Database
.Published by devkral 2 months ago
force_rollback
works also in multi-loop call (multithreading).Published by devkral 2 months ago
Published by devkral 2 months ago
disconnect_hook
was called too early.connect_hook
was called too late.pos
not passed through in fetch_one.Published by tarsil 2 months ago
Published by devkral 2 months ago
disconnect
and connect
return if they performed the setup/cleanup.Published by devkral 2 months ago
Published by devkral 2 months ago
execute_many
works now efficient and properly and returns autoincrement column ids.execute
returned not autoincrement id but defaults.Published by devkral 2 months ago
force_rollback
is now a descriptor returning an extensive ForceRollback object.
connect
/disconnect
calls are now refcounted. Nesting is now supported.Published by devkral 2 months ago
force_rollback
when copying via passing Database as parameter.force_rollback
parameter is now None by default.Published by devkral 3 months ago
__copy__
method for Database, DatabaseBackend.Published by devkral 3 months ago
Published by devkral 3 months ago
Published by devkral 3 months ago
dbapi2
dialect used only a single thread for all connections.Published by tarsil 3 months ago
batched_iterate
.jdbc
dialect to load nearly all jdbc drivers (note: many features won't work).dbapi2
dialect to load nearly all dbapi2 drivers (note: many features won't work).postgres://
to postgres+psycopg://
. Note: this behavior differs from sqlalchemy which still uses psycopg2 by default.fetch_all
uses now iterate as fallback.hatch
is now used for release management, cleaning.aiopg
support (no update for 2 years and better alternatives available).run_sync
implementation. Use asyncio.run instead.Published by tarsil 9 months ago
DatabaseTestClient
Published by tarsil 9 months ago
make_url
.Published by tarsil 11 months ago
DatabaseURL
causing issues when special characters where being used for passwords.urlsplit
from urllib.