zut.db.get_db_adapter

zut.db.get_db_adapter(origin, *, autocommit=True) DbAdapter

Create a new adapter (if origin is not already one). - autocommit: commit transactions automatically (applies only for connections created by the adapter).