Common Terminologies in ORMs

Learn about the common terms used by different ORMs that help us understand documentation and adapt to new patterns introduced by different ORMs.

Let’s take a look at some of the popular keywords in ORMs. Among different ORMs, the terminologies described here are very common and always mean the same thing. It’s a good idea to learn how they’re implemented for each ORM. This deepens our understanding of the ORM and how to use it efficiently.

Models

Models refer to our SQL tables. In SQL, every column has a column name, data type, and other optional attributes, while a row has the data that populates the columns.

Using TypeORM, we can define a model (SQL table), as follows:

Get hands-on with 1200+ tech skills courses.