While Sqlalchemy was primarily designed to work with relational databases, it also supports some non-relational databases such as MongoDB through its SQLAlchemy NoSQL API.