What is a default transaction isolation level in sqlalchemy for Postgres?

Viewed 629

I use sqlalchemy for Postgres DB.

engine = create_engine(
    "postgresql://postgres:postgres@localhost/test"

...

Create engine without Postgres dialect(psycopg2, pg8000, or other). So my question: what is a default transaction isolation level? And what is a default Postgres dialect?

1 Answers

Per the docs, the default postgres driver used by SQLAlchemy is psycopg2.

The default transaction isolation level is configured on the DB side, not by the client. Out-of-the-box, it is READ COMMITTED.

Related