© 2023 Hashnode
#orm
In this blog, we'll delve into the N+1 problem in Django, explore its causes and implications, and provide practical solutions to optimize your application's performance. Let's get started! What is th…
Writing database queries without the model like below SELECT * FROM your_table_name WHERE column_name = 'some_value'; has many issues like adding proper data type validation etc. to get data from the…
Introduction ORM stands for Object-Relational Mapping. It is a programming technique that enables developers to access and manipulate data in a database using an object-oriented programming language. …
Well, the last 3 months were wild. We went public with Drizzle ORM and it gained quite some adoption. The first YouTube video about us came out and it blew through the roof. As of now, we sit on 5.6k …
Libraries Express dotenv To manage environment variables inside.env file. env variable is a variable outside the program built inside the OS through some functionality. http-status-codes Detai…
In Java Persistence API (JPA), object inheritance can be mapped to a relational database using three different strategies: the single table strategy, the joined table strategy, and the table per class…
Introduction to Active Record Active Record is an Object-Relational Mapping (ORM) framework in the Ruby on Rails web development framework. Active Record provides an easy-to-use interface to work with…
Introduction to enums in GORM: GORM is a popular Go ORM that allows us to define structs to represent database tables and provides an interface to perform CRUD operations. Enums are a useful feature in programming that allows us to define a…
In a previous article, we discussed the benefits of using JPA associations to establish relationships between entities in a Java Persistence API (JPA) application. However, as applications grow in com…
Sometimes I would like to convert the fields for an entity to uppercase every time the record is saved or updated automatically, without littering the code with code to perform those uppercase conversions and risk forgetting to place them e…