AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
N plus One Queries and ORMs in Web Development
This chapter discusses the concept of n plus one queries and object relational mappers (ORMs) in web development. It explains the difference between raw SQL strings and n plus one queries, and explores the performance implications of using a query builder compared to sending binary encoded queries directly to the database. The chapter also delves into the concept of Object-Relational Mapping (ORM) and how it provides an object-oriented approach to accessing a relational database by creating classes and objects. It touches on the issue of 'M plus one' queries and their potential impact on performance in ORMs.