Asyncpg is the connector for PostgreSQL and asyncio-flavored Python. Here's how to use it without other libraries on FastAPI and Air projects. Recently I've been on a few projects using PostgreSQL where SQLAlchemy and SQLModel felt like overkill. Instead of using those libraries I leaned on writing SQL queries and running those directly in [asyncpg](https://pypi.org/project/asyncpg/) instead of using an ORM powered by asyncpg. Here's how I got it to work
Under the MIT license, developers get maximum freedom in using DocumentDB. They can choose between PostgreSQL interfaces for stronger JSON support or MongoDB compatibility for existing expertise. "We are committed to 100% compatibility with MongoDB drivers," Microsoft emphasizes. This developer-first mentality is also reflected in the simple implementation. It takes less than a minute to get DocumentDB up and running. Contributing to the project takes even less time, which keeps the barrier to entry low.
The addition of the managed PostgreSQL database to the Data Intelligence platform will allow developers to quickly build and deploy AI agents without having to concurrently scale compute and storage.