<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ORM on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/orm/</link><description>Recent content in ORM on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 07 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/orm/index.xml" rel="self" type="application/rss+xml"/><item><title>Database Interactions &amp;amp; ORM/ODM</title><link>https://ai-blog.noorshomelab.dev/nodejs-backend-interview-2026/database-interactions-orm-odm/</link><pubDate>Sat, 07 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/nodejs-backend-interview-2026/database-interactions-orm-odm/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In the landscape of modern backend development, data persistence is paramount, and Node.js applications frequently interact with various database systems. This chapter delves into the critical aspects of database interactions, focusing on both relational (SQL) and non-relational (NoSQL) databases, and the use of Object-Relational Mappers (ORMs) and Object-Document Mappers (ODMs) within Node.js. As of early 2026, understanding efficient, scalable, and secure database practices is non-negotiable for any backend engineer.&lt;/p&gt;</description></item><item><title>Chapter 6: Storing Messages with SQLite</title><link>https://ai-blog.noorshomelab.dev/chat-guide/chapter-6-sqlite-messages/</link><pubDate>Wed, 20 Aug 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/chat-guide/chapter-6-sqlite-messages/</guid><description>&lt;p&gt;A real chat application needs to store messages to provide chat history. This chapter will guide you through setting up a SQLite database and integrating it into our FastAPI application using SQLAlchemy, a powerful SQL toolkit and Object-Relational Mapper (ORM).&lt;/p&gt;
&lt;h3 id="purpose-of-this-chapter"&gt;Purpose of this Chapter&lt;/h3&gt;
&lt;p&gt;By the end of this chapter, you will:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Understand the basics of ORM and why we use SQLAlchemy.&lt;/li&gt;
&lt;li&gt;Set up a SQLite database connection.&lt;/li&gt;
&lt;li&gt;Define database models for users and chat messages.&lt;/li&gt;
&lt;li&gt;Implement methods to store new messages and retrieve chat history.&lt;/li&gt;
&lt;li&gt;Update the WebSocket endpoint to save messages.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="concepts-explained-sqlalchemy-and-orm"&gt;Concepts Explained: SQLAlchemy and ORM&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Object-Relational Mapping (ORM)&lt;/strong&gt; is a technique that lets you query and manipulate data from a database using an object-oriented paradigm. Instead of writing raw SQL, you interact with database tables as Python classes and objects.&lt;/p&gt;</description></item><item><title>A Beginner&amp;#39;s Guide to Prisma ORM</title><link>https://ai-blog.noorshomelab.dev/guides/prisma/</link><pubDate>Mon, 11 Aug 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/guides/prisma/</guid><description>&lt;h1 id="a-beginners-guide-to-prisma-orm"&gt;A Beginner&amp;rsquo;s Guide to Prisma ORM&lt;/h1&gt;
&lt;p&gt;Welcome to this comprehensive guide on Prisma ORM! If you&amp;rsquo;re new to backend development or struggling with traditional ways of interacting with databases, you&amp;rsquo;ve come to the right place. Prisma offers a modern, type-safe, and intuitive approach to database management, making it an excellent choice for both beginners and experienced developers.&lt;/p&gt;
&lt;p&gt;This document is structured as a textbook, guiding you from the absolute basics of Prisma to more advanced topics, complete with practical examples, exercises, and guided projects. By the end, you&amp;rsquo;ll have a solid understanding of Prisma and the skills to apply it effectively in your own applications.&lt;/p&gt;</description></item></channel></rss>