- Memory connector
- MongoDB connector
- MySQL connector
- Oracle connector
- PostgreSQL connector
- Redis connector
- SQL Server connector
LoopBack provides connectors for popular databases, including relational and NoSQL ones. These connectors implement CRUD operations as a common set of methods defined in PersistedModel. When a model is attached to a data source backed by one of the database connectors, the methods from the PersistedModel are added to the model class. We sometimes call such models as persisted models. The data access methods on a persisted model are exposed to REST by default. Please see PersistedModel REST API for the available endpoints.
Persisted models can be connected using relations to provide navigation and aggregation of a data graph formed by related model data. For more information about relations, see Creating model relations. Please note relations are only supported for persisted models.