databases icon indicating copy to clipboard operation
databases copied to clipboard

Async database support for Python. 🗄

Results 140 databases issues
Sort by recently updated
recently updated
newest added

The SQLite dialect appears to open and close connections on every statement. This is causing `sqlite3.OperationalError: unable to open database file` during periods of heavy write activity (probably because there's...

Has anyone tried to use RDS Proxy with IAM Authentication and Databases? While using RDS Proxy with IAM authentication, we need to connect to the Database through the temporary IAM...

Hi, I'm trying out `databases` with FastAPI. I've set up the database connection management on startup and shutdown, just like how it's shown in the documentation. I'm also saving initialized...

Hi, I noticed that inserting multiple rows to postgres database with execute_many is much slower than with fetch_all ``` "inserting with execute_many": "Time (hh:mm:ss.ms) 0:00:02.538554", "inserting with fetch_all": "Time (hh:mm:ss.ms)...

Will `databases` support loading sqlite extensions in the future? I'm particularly interested in geo extensions like spatialite. `aiosqlite` does expose the needed functions as far as I can see: ```...

To use custom functions in the SQLite backend, in a FASTAPI project, I am doing: ```python database = databases.Database(DATABASE_URL) @app.on_event("startup") async def startup(): await database.connect() # and then inside a...

Hello, The issue is very well explained here: https://github.com/sqlalchemy/sqlalchemy/issues/6114 It's very easy to reproduce it, like this: ``` from sqlalchemy.sql import table, column, select, tuple_ t = table('test', column('id', sa.Integer()),...

This might sound trivial, but... I am rushing to complete a FastAPI-based project before the funding for this current project runs out, and I need to implement some database functionality,...