FENG JUNYUANcrazyrunsnail.hashnode.dev·Dec 22, 2024Refactor: status to statuses using mybatisBefore: <if test="status = 0"> and t.status = 0 and t.status1 = 1 </if> <if test="status = 1"> and t.status = 0 and t.status2 = 2 </if> <if test ="status != 2"> and t.status2 != 2 </if> After: <if test="statuses != null and statuses.size() > 0...Java
Muhammad Sufiyaninnosufiyan.hashnode.dev·Dec 18, 2024Object-Relational Mapping (ORM)What is ORM? ORM, short for Object-Relational Mapping, is an additional piece of software or a service that acts as a bridge between your application code and the database. Its main responsibility is to help you retrieve or save data to the database ...Databases and ORM'sorm
aman Jaiswalamanog.hashnode.dev·Dec 16, 2024What are ORMs? & Understanding Prisma and its ImplementingOfficial Definition ORM stands for Object-Relational Mapping, a programming technique used in software development to convert data between incompatible type systems in object-oriented programming languages. This technique creates a "virtual object da...orm
Diluk Angelodilukangelo.dev·Dec 12, 2024FeaturedMastering Prisma ORM: A Practical Guide to Deployment and CI/CDWhen I first started using Prisma ORM, I was blown away by how it streamlined my database workflows. But when it came to deploying my applications to production, things got tricky. Over time, I learned a lot about how to navigate these challenges. In...8 likes·117 readsprisma
Danish Khandanishpy.hashnode.dev·Dec 6, 2024Improving database performance in Django part-1: Optimized QueriesIf you want to improve performance of your django application, basically it's related to, improving database Queries. Writting efficient ORM queries is key. How much operations are taking place while any action performed by your view, less operations...58 readsDjango: Beyond CRUDDjango
kalyan dahakeaekshant.hashnode.dev·Dec 4, 2024Building a Modular and Testable n-Tier Architecture in GoLang Using the Consumer Interface PatternIn this blog post, we'll explore an n-tier architecture implemented in GoLang with a consumer interface pattern that promotes modularity, decoupling, and unit testability. This approach is particularly useful for projects requiring clean separation o...1 like·60 readsDesign PatternGo Language
Gaurav Vishwakarmablogs.gauravvishwakarma.com·Dec 3, 2024Top 20 Rust Crates for General Development in 2024Tokio: A runtime for asynchronous programming, enabling tasks like building high-performance network applications. Serde: A powerful framework for serializing and deserializing Rust data structures into various formats like JSON. Reqwest: A conveni...Top Rust libraries
Onur Evrenonurevren.dev·Nov 27, 2024Dynamic Relationship Binding: Laravel'de Dinamik Model İlişkileriLaravel, model ilişkilerini tanımlamak için güçlü ve esnek bir altyapı sunar. Genelde ilişkiler, modeller içinde hasOne, hasMany, belongsTo, veya belongsToMany gibi metotlarla tanımlanır. Ancak, bazı durumlarda bu ilişkileri dinamik olarak, çalışma z...52 readsLaravel
Luis Gustavo Ganimiluisgustavoganimi.hashnode.dev·Nov 25, 2024Optimizing Database Performance in Ruby on RailsAs applications grow in scale, database performance often becomes a critical bottleneck. Ruby on Rails, with its ActiveRecord ORM, offers powerful tools to simplify database interactions. However, without proper optimizations, these conveniences can ...database
Tojo RODIALSONtojo.hashnode.dev·Nov 22, 2024Guide to Choosing the Ideal ORM for IT ProjectsAn Object-Relational Mapper (ORM) is a programming technique for converting data between incompatible systems using object-oriented programming techniques. 1 In the context of database applications, it simplifies interactions between programming la...orm