Entities in TypeORM represent database tables or connections. However, there is another form of object we may use . A database view can be mapped using the viewEntity. If you've never heard of a database view, it's a view of a certain database result.