LoopBack provides connectors for popular relational and NoSQL databases.
Page Contents
LoopBack database connectors implement create, retrieve, update, and delete operations as a common set of methods of PersistedModel. When you attach a model to a data source backed by one of the database connectors, the model automatically acquires the create, retrieve, update, and delete methods from PersistedModel. The data access methods on a persisted model are exposed to REST by default; see PersistedModel REST API for the endpoints.
You can connect models using relations to reflect relationships among data. For more information about relations, see Creating model relations.
The officially-supported database connectors are:
- Cassandra connector
- Cloudant connector
- CouchDB 2.x connector
- DashDB
- DB2 connector
- DB2 for iSeries connector
- DB2 for z/OS
- gRPC connector
- Informix connector
- MongoDB connector
- MySQL connector
- OpenAPI connector
- Oracle connector
- PostgreSQL connector
- Redis connector
- Redis key-value connector
- SQL Server connector
- SQLite3 connector
- z/OS Connect Enterprise Edition connector