{"id":3910,"date":"2024-11-20T12:12:13","date_gmt":"2024-11-20T08:42:13","guid":{"rendered":"https:\/\/hamravesh.com\/blog\/?p=3910"},"modified":"2024-11-20T12:12:14","modified_gmt":"2024-11-20T08:42:14","slug":"what-is-orm","status":"publish","type":"post","link":"https:\/\/hamravesh.com\/blog\/what-is-orm\/","title":{"rendered":"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644"},"content":{"rendered":"\n<p>ORM \u06cc\u0627 <strong>Object-Relational Mapping<\/strong> \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0641\u0627\u0647\u06cc\u0645\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0628\u0627 \u0622\u0646 \u0628\u0631\u062e\u0648\u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0628\u0647 \u0648\u06cc\u0698\u0647 \u0627\u06af\u0631 \u0628\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u200c\u0647\u0627 \u0648 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0634\u06cc\u0621\u06af\u0631\u0627 (Object-Oriented) \u06a9\u0627\u0631 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u0646\u062f.<\/p>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0627\u0632 <strong>\u0648\u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634<\/strong>\u060c \u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 \u06a9\u0647 <strong>ORM \u0686\u06cc\u0633\u062a<\/strong>\u060c \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0645\u0632\u0627\u06cc\u0627 \u0648 \u0645\u0639\u0627\u06cc\u0628 \u0622\u0646 \u0686\u06cc\u0633\u062a \u0648 \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a\u060c \u0631\u0627\u0647\u06a9\u0627\u0631\u0647\u0627\u06cc\u06cc \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0628\u0647\u062a\u0631 \u0627\u0632 \u0622\u0646 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-orm-\u0686\u06cc\u0633\u062a\">ORM \u0686\u06cc\u0633\u062a\u061f<\/h2>\n\n\n\n<p>ORM \u06cc\u0627 <em>Object-Relational Mapping<\/em> \u06cc\u06a9 \u062a\u06a9\u0646\u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0646\u0648\u0634\u062a\u0646 \u06a9\u062f\u0647\u0627\u06cc SQL\u060c \u0628\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u200c\u0647\u0627\u06cc \u0631\u0627\u0628\u0637\u0647\u200c\u0627\u06cc (\u0645\u062b\u0644 MySQL\u060c \u067e\u0633\u062a\u06af\u0631\u0633 \u0648 SQLite) \u06a9\u0627\u0631 \u06a9\u0646\u0646\u062f. ORM \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0627 \u062a\u0628\u062f\u06cc\u0644  \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0628\u0647 \u0627\u0634\u06cc\u0627\u0621 \u062f\u0631 \u06a9\u062f \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u062f \u0648 \u0627\u0632 \u0627\u06cc\u0646 \u0637\u0631\u06cc\u0642 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u0627\u0646 \u0633\u0627\u062f\u0647\u200c\u062a\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n\n\n\n<p>\u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u060c ORM \u06cc\u06a9 \u0648\u0627\u0633\u0637\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u062c\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc SQL\u060c \u0628\u0647 \u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc\u200c\u062f\u0647\u062f \u062a\u0627 \u0627\u0632 \u06a9\u062f\u0647\u0627\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645 \u0648 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0631\u0627 \u0645\u0633\u062a\u0642\u06cc\u0645\u0627\u064b \u0628\u0647 \u0635\u0648\u0631\u062a \u0627\u0634\u06cc\u0627\u0621 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u06cc\u0645.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0686\u0631\u0627-\u0628\u0627\u06cc\u062f-\u0627\u0632-orm-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u06a9\u0646\u06cc\u0645\">\u0686\u0631\u0627 \u0628\u0627\u06cc\u062f \u0627\u0632 ORM \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645\u061f<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u0633\u0627\u062f\u06af\u06cc \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc<\/strong>: \u0628\u0627 ORM\u060c \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 \u0646\u06cc\u0627\u0632 \u0646\u062f\u0627\u0631\u062f \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u067e\u06cc\u0686\u06cc\u062f\u0647 SQL \u0628\u0646\u0648\u06cc\u0633\u062f \u0648 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u062e\u0648\u062f\u0634\u060c \u0645\u0633\u062a\u0642\u06cc\u0645\u0627\u064b \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u062f.<\/li>\n\n\n\n<li><strong>\u062e\u0648\u0627\u0646\u0627\u06cc\u06cc \u0628\u06cc\u0634\u062a\u0631<\/strong>: \u06a9\u062f\u0647\u0627 \u0628\u0647 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0646\u0632\u062f\u06cc\u06a9\u200c\u062a\u0631 \u0648 \u062e\u0648\u0627\u0646\u0627\u062a\u0631 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0648 \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0627\u0632 \u0646\u06cc\u0633\u062a \u06a9\u062f\u0647\u0627\u06cc SQL \u062f\u0631 \u0628\u06cc\u0646 \u06a9\u062f\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0642\u0631\u0627\u0631 \u06af\u06cc\u0631\u0646\u062f.<\/li>\n\n\n\n<li><strong>\u0627\u0641\u0632\u0627\u06cc\u0634 \u0627\u0645\u0646\u06cc\u062a<\/strong>: ORM \u0628\u0647 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062d\u0645\u0644\u0627\u062a SQL Injection \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0632\u06cc\u0631\u0627 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a SQL \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0634\u062f\u0647 \u0648 \u0627\u06cc\u0645\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/li>\n\n\n\n<li><strong>\u062a\u0633\u0647\u06cc\u0644 \u0645\u0647\u0627\u062c\u0631\u062a \u0628\u06cc\u0646 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u062f\u0627\u062f\u0647<\/strong>: \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0627\u06cc\u0646\u06a9\u0647 ORM \u0633\u0637\u062d \u0627\u0646\u062a\u0632\u0627\u0639\u06cc \u0628\u06cc\u0646 \u06a9\u062f \u0628\u0631\u0646\u0627\u0645\u0647 \u0648 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0646\u0648\u0639 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 (\u0645\u062b\u0644\u0627\u064b \u0627\u0632 MySQL \u0628\u0647 PostgreSQL) \u0622\u0633\u0627\u0646\u200c\u062a\u0631 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-orm-\u0686\u06af\u0648\u0646\u0647-\u06a9\u0627\u0631-\u0645\u06cc-\u06a9\u0646\u062f\">ORM \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<\/h2>\n\n\n\n<p>\u062a\u0635\u0648\u0631 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0634\u0645\u0627 \u06cc\u06a9 \u062c\u062f\u0648\u0644 \u0628\u0647 \u0646\u0627\u0645 <code>\u06a9\u0627\u0631\u0628\u0631\u0627\u0646<\/code> \u062f\u0627\u0631\u06cc\u062f \u0648 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0627\u06cc\u0646 \u062c\u062f\u0648\u0644 \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f\u060c \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f \u06cc\u0627 \u062f\u0627\u062f\u0647\u200c\u0627\u06cc \u062c\u062f\u06cc\u062f \u062f\u0631 \u0622\u0646 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f. ORM \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u062f. \u062f\u0631 ORM\u0647\u0627\u060c \u0647\u0631 \u062c\u062f\u0648\u0644 \u0628\u0647 \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0647\u0631 \u0633\u062a\u0648\u0646 \u062f\u0631 \u062c\u062f\u0648\u0644 \u0628\u0647 \u06cc\u06a9 \u062e\u0635\u0648\u0635\u06cc\u062a \u062f\u0631 \u0622\u0646 \u06a9\u0644\u0627\u0633.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"539\" src=\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/10\/orm-in-python-1024x539.webp\" alt=\"ORM \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646\" class=\"wp-image-3914\" srcset=\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/10\/orm-in-python-1024x539.webp 1024w, https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/10\/orm-in-python-300x158.webp 300w, https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/10\/orm-in-python-768x404.webp 768w, https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/10\/orm-in-python.webp 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u0645\u062b\u0627\u0644-\u0633\u0627\u062f\u0647-\u0627\u0632-orm-\u062f\u0631-\u067e\u0627\u06cc\u062a\u0648\u0646\">\u0645\u062b\u0627\u0644 \u0633\u0627\u062f\u0647 \u0627\u0632 ORM \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/h3>\n\n\n\n<p>\u0641\u0631\u0636 \u06a9\u0646\u06cc\u062f \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u062f\u0631 \u062c\u062f\u0648\u0644 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645. \u062f\u0631 SQL \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0647 \u0627\u06cc\u0646 \u0634\u06a9\u0644 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>INSERT INTO \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 (\u0646\u0627\u0645, \u0627\u06cc\u0645\u06cc\u0644) VALUES ('\u0639\u0644\u06cc', 'ali@example.com');<\/code><\/pre>\n\n\n\n<p>\u0627\u0645\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ORM\u060c \u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u062f \u0631\u0627 \u0628\u0647 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u062e\u0648\u062f \u0628\u0647 \u0634\u06a9\u0644 \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u06cc \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f. \u0645\u062b\u0644\u0627\u064b \u062f\u0631 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646\u060c \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <code>ORM SQLAlchemy<\/code> \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0634\u06a9\u0644 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user = User(name=\"\u0639\u0644\u06cc\", email=\"ali@example.com\")\nsession.add(user)\nsession.commit()<\/code><\/pre>\n\n\n\n<p>\u0627\u06cc\u0646\u062c\u0627 ORM \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0647 \u062c\u0627\u06cc \u0634\u0645\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u062f \u0648 \u06a9\u062f \u0631\u0627 \u0628\u0647 \u062f\u0633\u062a\u0648\u0631 SQL \u062a\u0628\u062f\u06cc\u0644 \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0647 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0622\u0634\u0646\u0627\u06cc\u06cc-\u0628\u0627-\u0645\u0641\u0627\u0647\u06cc\u0645-\u0627\u0635\u0644\u06cc-\u062f\u0631-orm\u0647\u0627\">\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0645\u0641\u0627\u0647\u06cc\u0645 \u0627\u0635\u0644\u06cc \u062f\u0631 ORM\u0647\u0627<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u06f1-\u0645\u062f\u0644-\u0647\u0627-models\">\u06f1. \u0645\u062f\u0644\u200c\u0647\u0627 (<em>Models<\/em>)<\/h3>\n\n\n\n<p>\u0645\u062f\u0644\u200c\u0647\u0627 \u0627\u0635\u0644\u06cc\u200c\u062a\u0631\u06cc\u0646 \u0628\u062e\u0634 ORM \u0647\u0633\u062a\u0646\u062f. \u062f\u0631 ORM\u060c \u0647\u0631 \u0645\u062f\u0644 \u0646\u0645\u0627\u06cc\u0627\u0646\u06af\u0631 \u06cc\u06a9 \u062c\u062f\u0648\u0644 \u0627\u0632 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0627\u0633\u062a \u0648 \u0647\u0631 \u0634\u06cc\u0621 \u0627\u0632 \u0622\u0646 \u0645\u062f\u0644\u060c \u0645\u0639\u0627\u062f\u0644 \u06cc\u06a9 \u0631\u06a9\u0648\u0631\u062f \u06cc\u0627 \u0633\u0637\u0631 \u062f\u0631 \u0622\u0646 \u062c\u062f\u0648\u0644 \u0627\u0633\u062a. \u0645\u062f\u0644\u200c\u0647\u0627 \u0628\u0647 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u062a\u0627 \u0628\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0628\u0647 \u0635\u0648\u0631\u062a \u0634\u06cc\u0621 (object) \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u0646\u062f \u0648 \u0628\u0627 \u0622\u0646\u200c\u0647\u0627 \u0645\u0627\u0646\u0646\u062f \u0627\u0634\u06cc\u0627\u0621 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0641\u062a\u0627\u0631 \u06a9\u0646\u0646\u062f.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f2. \u0641\u06cc\u0644\u062f\u0647\u0627 (<em>Fields<\/em>)<\/h3>\n\n\n\n<p>\u0641\u06cc\u0644\u062f\u0647\u0627 \u0645\u0639\u0627\u062f\u0644 \u0633\u062a\u0648\u0646\u200c\u0647\u0627\u06cc \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0647\u0633\u062a\u0646\u062f \u0648 \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u06a9\u0647 \u0647\u0631 \u0633\u062a\u0648\u0646 \u062f\u0631 \u062c\u062f\u0648\u0644 \u0686\u0647 \u0646\u0648\u0639 \u062f\u0627\u062f\u0647\u200c\u0627\u06cc \u0631\u0627 \u0646\u06af\u0647 \u0645\u06cc\u200c\u062f\u0627\u0631\u062f (\u0645\u062b\u0644 <code>IntegerField<\/code> \u0628\u0631\u0627\u06cc \u0627\u0639\u062f\u0627\u062f \u0635\u062d\u06cc\u062d \u06cc\u0627 <code>StringField<\/code> \u0628\u0631\u0627\u06cc \u0645\u062a\u0646\u200c\u0647\u0627). \u062f\u0631 ORM\u060c \u0647\u0631 \u0641\u06cc\u0644\u062f \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc (property) \u0627\u0632 \u06a9\u0644\u0627\u0633 \u0645\u062f\u0644 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f3. \u0646\u06af\u0627\u0634\u062a\u200c\u0647\u0627 (<em>Mappings<\/em>)<\/h3>\n\n\n\n<p>\u0646\u06af\u0627\u0634\u062a \u062f\u0631 ORM \u0628\u0647 \u0645\u0639\u0646\u0627\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u06cc\u0646 \u062c\u062f\u0627\u0648\u0644 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0648 \u06a9\u0644\u0627\u0633\u200c\u0647\u0627\u06cc \u0645\u062f\u0644 \u062f\u0631 \u06a9\u062f \u0627\u0633\u062a. ORM\u0647\u0627 \u0627\u06cc\u0646 \u0646\u06af\u0627\u0634\u062a \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u0648 \u0646\u06cc\u0627\u0632\u06cc \u0646\u06cc\u0633\u062a \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0633\u062a\u0642\u06cc\u0645 \u062f\u0631\u06af\u06cc\u0631 \u062c\u0632\u0626\u06cc\u0627\u062a \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 (\u0645\u0627\u0646\u0646\u062f \u0646\u0627\u0645 \u0633\u062a\u0648\u0646\u200c\u0647\u0627 \u06cc\u0627 \u0631\u0648\u0627\u0628\u0637 \u0628\u06cc\u0646 \u062c\u062f\u0627\u0648\u0644) \u0634\u0648\u062f. \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u0627\u0639\u062b \u0645\u06cc\u200c\u0634\u0648\u062f \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0631\u0627\u062d\u062a\u200c\u062a\u0631 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0634\u0648\u062f.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f4. \u0631\u0627\u0628\u0637\u0647\u200c\u0647\u0627 (<em>Relationships<\/em>)<\/h3>\n\n\n\n<p>\u062f\u0631 ORM\u060c \u0631\u0627\u0628\u0637\u0647\u200c\u0647\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0627\u0634\u06cc\u0627\u0621 \u0646\u06cc\u0632 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0648 \u0628\u0647 \u0645\u062f\u0644\u200c\u0647\u0627 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u06a9\u0647 \u0628\u0627 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627\u0634\u0646\u062f. \u0633\u0647 \u0646\u0648\u0639 \u0627\u0635\u0644\u06cc \u0631\u0627\u0628\u0637\u0647 \u062f\u0631 ORM\u0647\u0627 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u06cc\u06a9 \u0628\u0647 \u0686\u0646\u062f (One-to-Many)<\/strong>: \u0645\u062b\u0644\u0627\u064b \u0647\u0631 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0686\u0646\u062f \u06a9\u062a\u0627\u0628 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f.<\/li>\n\n\n\n<li><strong>\u0686\u0646\u062f \u0628\u0647 \u06cc\u06a9 (Many-to-One)<\/strong>: \u0686\u0646\u062f\u06cc\u0646 \u06a9\u062a\u0627\u0628 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u06cc\u06a9 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647 \u0645\u0634\u062a\u0631\u06a9 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f.<\/li>\n\n\n\n<li><strong>\u0686\u0646\u062f \u0628\u0647 \u0686\u0646\u062f (Many-to-Many)<\/strong>: \u0647\u0631 \u06a9\u062a\u0627\u0628 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0686\u0646\u062f\u06cc\u0646 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f \u0648 \u0647\u0631 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647 \u0647\u0645 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0686\u0646\u062f\u06cc\u0646 \u06a9\u062a\u0627\u0628 \u0628\u0646\u0648\u06cc\u0633\u062f.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f5. \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627 (<em>Queries<\/em>)<\/h3>\n\n\n\n<p>\u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc ORM \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u062f\u0648\u0646 \u0646\u0648\u0634\u062a\u0646 SQL \u0628\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a. ORM\u0647\u0627 \u062f\u0627\u0631\u0627\u06cc \u0645\u062a\u062f\u0647\u0627\u06cc\u06cc \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f\u060c \u062e\u0648\u0627\u0646\u062f\u0646\u060c \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0648 \u062d\u0630\u0641 (CRUD) \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0622\u0646\u200c\u0647\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0646\u0648\u0627\u0639 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0646\u0648\u0634\u062a. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u062e\u0648\u0627\u0646\u062f\u0646 \u062f\u0627\u062f\u0647\u200c\u0647\u0627<\/strong>: \u0642\u0637\u0639\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u062a\u0645\u0627\u0645 \u0646\u0648\u06cc\u0633\u0646\u062f\u06af\u0627\u0646 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Author.objects.all()<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0627\u06cc\u062c\u0627\u062f \u062f\u0627\u062f\u0647\u200c\u0647\u0627<\/strong>: \u0642\u0637\u0639\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647\u200c\u0627\u06cc \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Author.objects.create(name=\"Jane Doe\")<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627<\/strong>: \u0642\u0637\u0639\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u0646\u0627\u0645 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647\u200c\u0627\u06cc \u062e\u0627\u0635 \u0631\u0627 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>author.name = \"Jane Smith\"\nauthor.save()<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u062d\u0630\u0641 \u062f\u0627\u062f\u0647\u200c\u0647\u0627<\/strong>: \u0642\u0639\u0637\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u06a9\u0648\u0631\u062f \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647 \u0631\u0627 \u062d\u0630\u0641 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>author.delete()<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f6. \u0645\u062f\u06cc\u0631\u06cc\u062a \u062a\u0631\u0627\u06a9\u0646\u0634\u200c\u0647\u0627 (<em>Transactions<\/em>)<\/h3>\n\n\n\n<p>ORM\u0647\u0627 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u062f\u0627\u0631\u0627\u06cc \u0642\u0627\u0628\u0644\u06cc\u062a \u0645\u062f\u06cc\u0631\u06cc\u062a \u062a\u0631\u0627\u06a9\u0646\u0634\u200c\u0647\u0627 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0628\u0647 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u062a\u0627 \u06cc\u06a9 \u0633\u0631\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0627\u062c\u0631\u0627 \u06a9\u0646\u0646\u062f. \u0627\u06af\u0631 \u06cc\u06a9\u06cc \u0627\u0632 \u0639\u0645\u0644\u06cc\u0627\u062a\u200c\u0647\u0627 \u0628\u0627 \u062e\u0637\u0627 \u0645\u0648\u0627\u062c\u0647 \u0634\u0648\u062f\u060c \u06a9\u0644 \u062a\u0631\u0627\u06a9\u0646\u0634 \u0644\u063a\u0648 \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0627\u0632 \u0627\u06cc\u062c\u0627\u062f \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0646\u0627\u0642\u0635 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f7. \u062a\u062c\u0645\u06cc\u0639 \u0648 \u062a\u0648\u0627\u0628\u0639 \u062a\u062c\u0645\u0639\u06cc (<em>Aggregation and Aggregative Functions<\/em>)<\/h3>\n\n\n\n<p>\u062a\u0648\u0627\u0628\u0639 \u062a\u062c\u0645\u06cc\u0639\u06cc \u0645\u0627\u0646\u0646\u062f <code>SUM<\/code> \u060c<code>COUNT<\/code> \u060c<code>AVG<\/code> \u060c<code>MIN<\/code> \u0648 <code>MAX<\/code> \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0628\u062e\u0634\u06cc \u0627\u0632 ORM\u0647\u0627 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u062a\u0648\u0627\u0628\u0639 \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u0627\u0646 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u062a\u0627 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a\u200c\u0647\u0627\u06cc \u0622\u0645\u0627\u0631\u06cc \u0631\u0648\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u0646\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-orm-\u062f\u0631-\u0641\u0631\u06cc\u0645\u0648\u0631\u06a9-\u062c\u0646\u06af\u0648\">\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ORM \u062f\u0631 \u0641\u0631\u06cc\u0645\u0648\u0631\u06a9 \u062c\u0646\u06af\u0648<\/h2>\n\n\n\n<p>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong><a href=\"https:\/\/docs.djangoproject.com\/en\/5.1\/topics\/db\/\">ORM \u062f\u0631 \u062c\u0646\u06af\u0648 (Django)<\/a><\/strong> \u06cc\u06a9\u06cc \u0627\u0632 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0628\u0631\u062c\u0633\u062a\u0647 \u0627\u06cc\u0646 \u0641\u0631\u06cc\u0645\u200c\u0648\u0631\u06a9 \u0627\u0633\u062a \u06a9\u0647 \u06a9\u0627\u0631 \u0628\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0631\u0627 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u0634\u06cc\u0621\u200c\u06af\u0631\u0627 \u0648 \u0633\u0627\u062f\u0647 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0628\u0627 ORM \u062c\u0646\u06af\u0648\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0628\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0631\u0642\u0631\u0627\u0631 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u062f\u0648\u0646 \u0646\u0648\u0634\u062a\u0646 \u0645\u0633\u062a\u0642\u06cc\u0645 SQL\u060c \u0639\u0645\u0644\u06cc\u0627\u062a CRUD \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627 \u0648 \u0646\u062d\u0648\u0647 \u06a9\u0627\u0631 \u0628\u0627 ORM \u062c\u0646\u06af\u0648 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f1. \u062a\u0639\u0631\u06cc\u0641 \u0645\u062f\u0644\u200c\u0647\u0627<\/h3>\n\n\n\n<p>\u062f\u0631 \u062c\u0646\u06af\u0648\u060c \u0647\u0631 \u0645\u062f\u0644 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u067e\u0627\u06cc\u062a\u0648\u0646 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0647\u0631 \u0641\u06cc\u0644\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0648\u06cc\u0698\u06af\u06cc \u06a9\u0644\u0627\u0633 \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u067e\u06cc\u0634\u062a\u0631 \u06af\u0641\u062a\u0647 \u0634\u062f\u060c \u0627\u06cc\u0646 \u0645\u062f\u0644\u200c\u0647\u0627 \u0646\u0645\u0627\u06cc\u0627\u0646\u06af\u0631 \u062c\u062f\u0627\u0648\u0644 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0647\u0633\u062a\u0646\u062f.<\/p>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u0646\u0645\u0648\u0646\u0647\u060c \u0641\u0631\u0636 \u06a9\u0646\u06cc\u062f \u06cc\u06a9 \u0645\u062f\u0644 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u0627\u06cc \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0646\u0648\u06cc\u0633\u0646\u062f\u06af\u0627\u0646 \u0648 \u06a9\u062a\u0627\u0628\u200c\u0647\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.db import models\n\nclass Author(models.Model):\n    name = models.CharField(max_length=100)\n    age = models.IntegerField()\n\nclass Book(models.Model):\n    title = models.CharField(max_length=200)\n    publication_date = models.DateField()\n    author = models.ForeignKey(Author, on_delete=models.CASCADE)<\/code><\/pre>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u06a9\u0644\u0627\u0633 <code>Author<\/code> \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u062c\u062f\u0648\u0644 \u0628\u0627 \u062f\u0648 \u0633\u062a\u0648\u0646 <code>name<\/code> \u0648 <code>age<\/code> \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/li>\n\n\n\n<li>\u06a9\u0644\u0627\u0633 <code>Book<\/code> \u0647\u0645 \u06cc\u06a9 \u062c\u062f\u0648\u0644 \u0628\u0627 \u0633\u062a\u0648\u0646\u200c\u0647\u0627\u06cc <code>title<\/code> \u060c<code>publication_date<\/code> \u0648 \u06cc\u06a9 \u0631\u0627\u0628\u0637\u0647 <code>ForeignKey<\/code> \u0628\u0647 \u062c\u062f\u0648\u0644 \u0646\u0648\u06cc\u0633\u0646\u062f\u06af\u0627\u0646 (<code>Author<\/code>) \u062f\u0627\u0631\u062f.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u06f2-\u0633\u0627\u062e\u062a-\u062c\u062f\u0627\u0648\u0644-\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\">\u06f2. \u0633\u0627\u062e\u062a \u062c\u062f\u0627\u0648\u0644 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633<\/h3>\n\n\n\n<p>\u0628\u0639\u062f \u0627\u0632 \u062a\u0639\u0631\u06cc\u0641 \u0645\u062f\u0644\u200c\u0647\u0627\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u062c\u062f\u0627\u0648\u0644 \u0631\u0627 \u062f\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>manage.py makemigrations\npython manage.py migrate<\/code><\/pre>\n\n\n\n<p>\u062f\u0633\u062a\u0648\u0631 <code>makemigrations<\/code> \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0645\u062f\u0644\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u062c\u0646\u06af\u0648 \u0645\u0639\u0631\u0641\u06cc \u06a9\u0631\u062f\u0647 \u0648 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0633\u067e\u0633 \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc <code>migrate<\/code>\u060c \u0627\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u062f\u0631 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0627\u0639\u0645\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f3. \u06a9\u0627\u0631 \u0628\u0627 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 (CRUD)<\/h3>\n\n\n\n<p>\u067e\u0633 \u0627\u0632 \u062a\u0639\u0631\u06cc\u0641 \u0645\u062f\u0644\u200c\u0647\u0627 \u0648 \u0627\u06cc\u062c\u0627\u062f \u062c\u062f\u0627\u0648\u0644\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0639\u0645\u0644\u06cc\u0627\u062a CRUD \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u0627\u0644\u0641) \u0627\u06cc\u062c\u0627\u062f \u062f\u0627\u062f\u0647 (<em>Create<\/em>)<\/h4>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u0627\u0641\u0632\u0648\u062f\u0646 \u0631\u06a9\u0648\u0631\u062f \u062c\u062f\u06cc\u062f \u0628\u0647 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0639\u0645\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>author = Author.objects.create(name=\"Jane Doe\", age=45)\nbook = Book.objects.create(title=\"Python Basics\", publication_date=\"2023-10-01\", author=author)<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u0628) \u062e\u0648\u0627\u0646\u062f\u0646 \u062f\u0627\u062f\u0647 (<em>Read<\/em>)<\/h4>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u060c \u0627\u0632 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u06a9\u0648\u0626\u0631\u06cc\u200c\u06af\u06cc\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f:<\/p>\n\n\n\n<p><strong>\u062f\u0631\u06cc\u0627\u0641\u062a \u0647\u0645\u0647 \u0631\u06a9\u0648\u0631\u062f\u0647\u0627<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>authors = Author.objects.all()<\/code><\/pre>\n\n\n\n<p><strong>\u0641\u06cc\u0644\u062a\u0631 \u06a9\u0631\u062f\u0646 \u0631\u06a9\u0648\u0631\u062f\u0647\u0627<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>young_authors = Author.objects.filter(age__lt=30)<\/code><\/pre>\n\n\n\n<p><strong>\u062f\u0631\u06cc\u0627\u0641\u062a \u0631\u06a9\u0648\u0631\u062f \u062e\u0627\u0635 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <code>get<\/code><\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>author = Author.objects.get(id=1)<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u062c) \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u062f\u0627\u062f\u0647 (<em>Update<\/em>)<\/h4>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc\u060c \u06a9\u0627\u0641\u06cc\u0633\u062a \u0631\u06a9\u0648\u0631\u062f \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u0628\u06af\u06cc\u0631\u06cc\u062f \u0648 \u0641\u06cc\u0644\u062f\u0647\u0627\u06cc \u0622\u0646 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u0648 \u0633\u067e\u0633 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>author = Author.objects.get(id=1)\nauthor.name = \"Jane Smith\"\nauthor.save()<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u062f) \u062d\u0630\u0641 \u062f\u0627\u062f\u0647 (<em>Delete<\/em>)<\/h4>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u06cc\u06a9 \u0631\u06a9\u0648\u0631\u062f \u0627\u0632 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>author = Author.objects.get(id=1)\nauthor.delete()<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f4. \u0631\u0627\u0628\u0637\u0647\u200c\u0647\u0627 \u062f\u0631 ORM \u062c\u0646\u06af\u0648<\/h3>\n\n\n\n<p>\u062f\u0631 \u062c\u0646\u06af\u0648\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0631\u0648\u0627\u0628\u0637 \u06cc\u06a9 \u0628\u0647 \u0686\u0646\u062f\u060c \u0686\u0646\u062f \u0628\u0647 \u0686\u0646\u062f \u0648 \u06cc\u06a9 \u0628\u0647 \u06cc\u06a9\u060c \u0628\u06cc\u0646 \u0645\u062f\u0644\u200c\u0647\u0627 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0631\u0642\u0631\u0627\u0631 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<p><strong>\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u06a9\u062a\u0627\u0628\u200c\u0647\u0627\u06cc \u06cc\u06a9 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>author = Author.objects.get(id=1) \nbooks = author.book_set.all() # \u062a\u0645\u0627\u0645\u06cc \u06a9\u062a\u0627\u0628\u200c\u0647\u0627\u06cc \u0645\u0631\u062a\u0628\u0637 \u0628\u0627 \u0627\u06cc\u0646 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647<\/code><\/pre>\n\n\n\n<p><strong>\u0627\u06cc\u062c\u0627\u062f \u0631\u0648\u0627\u0628\u0637 \u0686\u0646\u062f \u0628\u0647 \u0686\u0646\u062f<\/strong>:<\/p>\n\n\n\n<p> \u0627\u06af\u0631 \u06cc\u06a9 \u0631\u0627\u0628\u0637\u0647 \u0686\u0646\u062f \u0628\u0647 \u0686\u0646\u062f \u0628\u06cc\u0646 \u062f\u0648 \u0645\u062f\u0644 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u0627\u0632 <code>ManyToManyField<\/code> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Book(models.Model):\n    title = models.CharField(max_length=200) \n    authors = models.ManyToManyField(Author) \nbook = Book.objects.get(id=1)\nauthor = Author.objects.get(id=2)\nbook.authors.add(author)<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f5. \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u067e\u06cc\u0634\u0631\u0641\u062a\u0647<\/h3>\n\n\n\n<p><strong>\u062a\u062c\u0645\u06cc\u0639 \u062f\u0627\u062f\u0647\u200c\u0647\u0627<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.db.models import Count\nauthor_count = Author.objects.aggregate(Count('id'))<\/code><\/pre>\n\n\n\n<p><strong>\u062a\u0631\u062a\u06cc\u0628\u200c\u06af\u0630\u0627\u0631\u06cc<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>books = Book.objects.order_by('publication_date')<\/code><\/pre>\n\n\n\n<p><strong>\u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u062a\u0631\u06a9\u06cc\u0628\u06cc<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>books = Book.objects.filter(title__contains=\"Python\").exclude(publication_date__year=2024)<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f6. \u0645\u062f\u06cc\u0631\u06cc\u062a \u062a\u0631\u0627\u06a9\u0646\u0634\u200c\u0647\u0627<\/h3>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u062a\u0636\u0645\u06cc\u0646 \u06cc\u06a9\u067e\u0627\u0631\u0686\u06af\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u060c ORM \u062c\u0646\u06af\u0648 \u0627\u0632 \u062a\u0631\u0627\u06a9\u0646\u0634\u200c\u0647\u0627 \u0646\u06cc\u0632 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 <code>transaction<\/code> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.db import transaction\n\ntry:\n    with transaction.atomic():\n        author = Author.objects.create(name=\"John Doe\", age=40)\n        book = Book.objects.create(title=\"Advanced Django\", publication_date=\"2023-11-01\", author=author)\nexcept Exception as e:\n    print(\"Error:\", e)\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u06f7. \u0645\u0632\u0627\u06cc\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ORM \u062c\u0646\u06af\u0648<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0633\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u06a9\u0627\u0631 \u0628\u0627 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627<\/strong>: \u06a9\u062f \u0634\u06cc\u0621\u200c\u06af\u0631\u0627 \u0628\u0647 \u062c\u0627\u06cc SQL.<\/li>\n\n\n\n<li><strong>\u0627\u06cc\u062c\u0627\u062f \u062e\u0648\u062f\u06a9\u0627\u0631 \u062c\u062f\u0627\u0648\u0644 \u0648 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u0647\u0627\u062c\u0631\u062a\u200c\u0647\u0627<\/strong>: \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 \u0645\u062f\u0644\u200c\u0647\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a <code>makemigrations<\/code> \u0648 <code>migrate<\/code> \u0627\u0639\u0645\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/li>\n\n\n\n<li><strong>\u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u0628\u0647\u06cc\u0646\u0647\u200c\u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u0639\u0645\u0644\u06a9\u0631\u062f \u0628\u0647\u062a\u0631<\/strong>: ORM \u062c\u0646\u06af\u0648 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647\u06cc\u0646\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/li>\n<\/ul>\n\n\n\n<p>ORM \u062c\u0646\u06af\u0648 \u06cc\u06a9\u06cc \u0627\u0632 \u0642\u0648\u06cc\u200c\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0648\u0628 \u0627\u0633\u062a \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0628\u0627\u0639\u062b \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc \u0633\u0631\u06cc\u0639\u200c\u062a\u0631\u060c \u0633\u0627\u062f\u0647\u200c\u062a\u0631 \u0648 \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u06a9\u062f \u0631\u0627\u062d\u062a\u200c\u062a\u0631 \u0634\u0648\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0645\u0632\u0627\u06cc\u0627\u06cc-orm\">\u0645\u0632\u0627\u06cc\u0627\u06cc ORM<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0633\u0631\u0639\u062a \u062a\u0648\u0633\u0639\u0647 \u0628\u06cc\u0634\u062a\u0631<\/strong>: \u0686\u0648\u0646 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc SQL \u0645\u0633\u062a\u0642\u06cc\u0645\u0627\u064b \u0627\u0632 \u06a9\u062f \u0628\u0631\u0646\u0627\u0645\u0647 \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u0647 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631 \u0628\u0647 \u0646\u062a\u06cc\u062c\u0647 \u0645\u06cc\u200c\u0631\u0633\u062f. <\/li>\n\n\n\n<li><strong>\u0627\u0645\u0646\u06cc\u062a \u0628\u06cc\u0634\u062a\u0631<\/strong>: ORM\u0647\u0627 \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u062e\u0648\u062f\u06a9\u0627\u0631 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u060c \u062a\u0627 \u062d\u062f \u0632\u06cc\u0627\u062f\u06cc \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u062d\u0645\u0644\u0627\u062a SQL Injection \u0645\u0642\u0627\u0648\u0645 \u0647\u0633\u062a\u0646\u062f. <\/li>\n\n\n\n<li><strong>\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 \u0645\u0647\u0627\u062c\u0631\u062a \u062f\u0627\u062f\u0647\u200c\u0647\u0627<\/strong>: \u062f\u0631 \u0635\u0648\u0631\u062a \u062a\u063a\u06cc\u06cc\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647\u060c ORM\u0647\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u06a9\u0645\u06a9 \u06a9\u0646\u0646\u062f \u062a\u0627 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0628\u0627\u0632\u0646\u0648\u06cc\u0633\u06cc \u06a9\u062f\u0647\u0627\u06cc \u06a9\u0645\u062a\u0631\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0645\u0639\u0627\u06cc\u0628-orm\u0647\u0627\">\u0645\u0639\u0627\u06cc\u0628 ORM\u0647\u0627<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u06a9\u0646\u062f\u06cc \u062f\u0631 \u0639\u0645\u0644\u06a9\u0631\u062f<\/strong>: \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0628\u0633\u06cc\u0627\u0631 \u0628\u0632\u0631\u06af\u060c ORM\u0647\u0627 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0633\u0631\u0639\u062a \u067e\u0627\u06cc\u06cc\u0646\u06cc \u0646\u0633\u0628\u062a \u0628\u0647 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u062f\u0633\u062a\u200c\u0646\u0648\u06cc\u0633 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f. <\/li>\n\n\n\n<li><strong>\u067e\u06cc\u0686\u06cc\u062f\u06af\u06cc \u062f\u0631 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u067e\u06cc\u0686\u06cc\u062f\u0647<\/strong>: \u0628\u0631\u062e\u06cc \u0627\u0632 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0631\u0627 \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0647\u200c\u0633\u0627\u062f\u06af\u06cc \u062f\u0631 ORM\u0647\u0627 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u06a9\u0631\u062f \u0648 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u0645\u0633\u062a\u0642\u06cc\u0645 \u0628\u0647 SQL \u062f\u0627\u0631\u06cc\u062f.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0646\u06a9\u0627\u062a\u06cc-\u0628\u0631\u0627\u06cc-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0628\u0647\u062a\u0631-\u0627\u0632-orm\u0647\u0627\">\u0646\u06a9\u0627\u062a\u06cc \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0628\u0647\u062a\u0631 \u0627\u0632 ORM\u0647\u0627<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0634\u0646\u0627\u062e\u062a \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200c\u0647\u0627<\/strong>: \u0647\u0645\u06cc\u0634\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200c\u0647\u0627\u06cc ORM \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a \u0648 \u062f\u0631 \u0645\u0648\u0627\u0631\u062f \u0636\u0631\u0648\u0631\u06cc \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u062f\u0633\u062a\u200c\u0646\u0648\u06cc\u0633 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u062f. <\/li>\n\n\n\n<li><strong>\u062a\u0648\u062c\u0647 \u0628\u0647 \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc\u200c\u0647\u0627<\/strong>: ORM\u0647\u0627 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc\u06cc \u0628\u0631\u0627\u06cc \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc \u0648 cache \u06a9\u0631\u062f\u0646 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0627\u0632 \u0622\u0646\u200c\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/li>\n\n\n\n<li><strong>\u0622\u0645\u0648\u0632\u0634 \u0648 \u062a\u0645\u0631\u06cc\u0646<\/strong>: \u0647\u0631 ORM \u0627\u0628\u0632\u0627\u0631\u0647\u0627 \u0648 \u0645\u0641\u0627\u0647\u06cc\u0645 \u062e\u0627\u0635 \u062e\u0648\u062f \u0631\u0627 \u062f\u0627\u0631\u062f \u0648 \u0628\u0627\u06cc\u062f \u0628\u0627 \u0645\u0637\u0627\u0644\u0639\u0647 \u0648 \u062a\u0645\u0631\u06cc\u0646\u060c \u0646\u062d\u0648\u0647 \u0628\u0647\u06cc\u0646\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0631\u0627 \u06cc\u0627\u062f \u06af\u0631\u0641\u062a.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u0646\u062a\u06cc\u062c\u0647-\u06af\u06cc\u0631\u06cc\">\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc<\/h2>\n\n\n\n<p>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ORM \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u0646\u062f \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc \u0631\u0627\u062d\u062a\u200c\u062a\u0631\u06cc \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f\u060c \u0628\u0633\u06cc\u0627\u0631 \u0645\u0641\u06cc\u062f \u0627\u0633\u062a. ORM \u0628\u0647 \u0634\u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0646\u0648\u0634\u062a\u0646 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u067e\u06cc\u0686\u06cc\u062f\u0647\u060c \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0648 \u0628\u0627 \u0627\u0645\u0646\u06cc\u062a \u0628\u0627\u0644\u0627 \u0628\u0627 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0631\u0642\u0631\u0627\u0631 \u06a9\u0646\u06cc\u062f. \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0628\u0627\u06cc\u062f \u062f\u0631\u06a9 \u06a9\u0627\u0641\u06cc \u0627\u0632 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200c\u0647\u0627 \u0648 \u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u062e\u0627\u0635 \u067e\u0631\u0648\u0698\u0647 \u062e\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0648 \u062f\u0631 \u0635\u0648\u0631\u062a \u0644\u0632\u0648\u0645\u060c \u0627\u0632 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc SQL \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0633\u062a\u0642\u06cc\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<p>\u0627\u0645\u06cc\u062f\u0648\u0627\u0631\u0645 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628\u060c \u0645\u0642\u062f\u0645\u0647\u200c\u0627\u06cc \u0633\u0627\u062f\u0647 \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0628\u0631\u0627\u06cc \u062f\u0631\u06a9 \u0628\u0647\u062a\u0631 ORM \u0628\u0627\u0634\u062f \u0648 \u0628\u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0634\u0645\u0627 \u062f\u0631 \u0646\u0648\u0634\u062a\u0646 \u06a9\u062f\u0647\u0627\u06cc \u062d\u0631\u0641\u0647\u200c\u0627\u06cc\u200c\u062a\u0631 \u06a9\u0645\u06a9 \u06a9\u0646\u062f!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ORM \u06cc\u0627 Object-Relational Mapping \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0641\u0627\u0647\u06cc\u0645\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0628\u0627 \u0622\u0646 \u0628\u0631\u062e\u0648\u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0628\u0647 \u0648\u06cc\u0698\u0647 \u0627\u06af\u0631 \u0628\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u200c\u0647\u0627 \u0648 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0634\u06cc\u0621\u06af\u0631\u0627 (Object-Oriented) \u06a9\u0627\u0631 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u0646\u062f.<\/p>\n","protected":false},"author":12,"featured_media":4040,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64,1],"tags":[],"coauthors":[],"class_list":["post-3910","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database","category-articles"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.2 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644 - \u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hamravesh.com\/blog\/what-is-orm\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644\" \/>\n<meta property=\"og:description\" content=\"ORM \u06cc\u0627 Object-Relational Mapping \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0641\u0627\u0647\u06cc\u0645\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0628\u0627 \u0622\u0646 \u0628\u0631\u062e\u0648\u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0628\u0647 \u0648\u06cc\u0698\u0647 \u0627\u06af\u0631 \u0628\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u200c\u0647\u0627 \u0648 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0634\u06cc\u0621\u06af\u0631\u0627 (Object-Oriented) \u06a9\u0627\u0631 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u0646\u062f.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hamravesh.com\/blog\/what-is-orm\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-20T08:42:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-20T08:42:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1206\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 \u062f\u0642\u06cc\u0642\u0647\" \/>\n\t<meta name=\"twitter:label3\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data3\" content=\"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/\"},\"author\":{\"name\":\"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/49550a45ffc0d9098ee296a3fc1c8915\"},\"headline\":\"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644\",\"datePublished\":\"2024-11-20T08:42:13+00:00\",\"dateModified\":\"2024-11-20T08:42:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/\"},\"wordCount\":102,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp\",\"articleSection\":[\"\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\",\"\u0645\u0642\u0627\u0644\u0627\u062a\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hamravesh.com\/blog\/what-is-orm\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/\",\"url\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/\",\"name\":\"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644 - \u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634\",\"isPartOf\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp\",\"datePublished\":\"2024-11-20T08:42:13+00:00\",\"dateModified\":\"2024-11-20T08:42:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hamravesh.com\/blog\/what-is-orm\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/#primaryimage\",\"url\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp\",\"contentUrl\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp\",\"width\":2560,\"height\":1206,\"caption\":\"ORM \u0686\u06cc\u0633\u062a\u061f\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hamravesh.com\/blog\/what-is-orm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0645\u062c\u0644\u0647 \u0647\u0645\u200c\u0631\u0648\u0634\",\"item\":\"https:\/\/hamravesh.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#website\",\"url\":\"https:\/\/hamravesh.com\/blog\/\",\"name\":\"\u0648\u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634\",\"description\":\"\u0628\u0644\u0627\u06af \u0631\u0633\u0645\u06cc \u0647\u0645\u200c\u0631\u0648\u0634\",\"publisher\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hamravesh.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#organization\",\"name\":\"\u0647\u0645\u200c\u0631\u0648\u0634\",\"url\":\"https:\/\/hamravesh.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2026\/03\/logo.svg\",\"contentUrl\":\"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2026\/03\/logo.svg\",\"width\":1,\"height\":1,\"caption\":\"\u0647\u0645\u200c\u0631\u0648\u0634\"},\"image\":{\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/49550a45ffc0d9098ee296a3fc1c8915\",\"name\":\"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/image\/a069f4eb0a1c93c61efa59f918c39303\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/38bae86a265e84fa66968f790bc6426d9de14c3156bdef88a0773675c63de46e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/38bae86a265e84fa66968f790bc6426d9de14c3156bdef88a0773675c63de46e?s=96&d=mm&r=g\",\"caption\":\"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc\"},\"description\":\"Technical Writer - \u062f\u0631 \u062a\u0644\u0627\u0634 \u0628\u0631\u0627\u06cc \u0633\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0648 \u0647\u0645\u0647\u200c\u0641\u0647\u0645 \u06a9\u0631\u062f\u0646 \u0645\u0648\u0636\u0648\u0639\u0627\u062a \u062a\u062e\u0635\u0635\u06cc \u062d\u0648\u0632\u0647 Cloud \u0648 Computer Engineering\",\"sameAs\":[\"https:\/\/arastoo.net\",\"https:\/\/www.linkedin.com\/in\/arastoo\/\"],\"jobTitle\":\"Technical Content Writer\",\"url\":\"https:\/\/hamravesh.com\/blog\/author\/arastoo\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644 - \u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hamravesh.com\/blog\/what-is-orm\/","og_locale":"fa_IR","og_type":"article","og_title":"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644","og_description":"ORM \u06cc\u0627 Object-Relational Mapping \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0641\u0627\u0647\u06cc\u0645\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0628\u0627 \u0622\u0646 \u0628\u0631\u062e\u0648\u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0628\u0647 \u0648\u06cc\u0698\u0647 \u0627\u06af\u0631 \u0628\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u200c\u0647\u0627 \u0648 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0634\u06cc\u0621\u06af\u0631\u0627 (Object-Oriented) \u06a9\u0627\u0631 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u0646\u062f.","og_url":"https:\/\/hamravesh.com\/blog\/what-is-orm\/","og_site_name":"\u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634","article_published_time":"2024-11-20T08:42:13+00:00","article_modified_time":"2024-11-20T08:42:14+00:00","og_image":[{"width":2560,"height":1206,"url":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp","type":"image\/webp"}],"author":"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637":"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc","\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647":"9 \u062f\u0642\u06cc\u0642\u0647","Written by":"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/#article","isPartOf":{"@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/"},"author":{"name":"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc","@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/49550a45ffc0d9098ee296a3fc1c8915"},"headline":"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644","datePublished":"2024-11-20T08:42:13+00:00","dateModified":"2024-11-20T08:42:14+00:00","mainEntityOfPage":{"@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/"},"wordCount":102,"commentCount":0,"publisher":{"@id":"https:\/\/hamravesh.com\/blog\/#organization"},"image":{"@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/#primaryimage"},"thumbnailUrl":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp","articleSection":["\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633","\u0645\u0642\u0627\u0644\u0627\u062a"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hamravesh.com\/blog\/what-is-orm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/","url":"https:\/\/hamravesh.com\/blog\/what-is-orm\/","name":"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644 - \u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634","isPartOf":{"@id":"https:\/\/hamravesh.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/#primaryimage"},"image":{"@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/#primaryimage"},"thumbnailUrl":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp","datePublished":"2024-11-20T08:42:13+00:00","dateModified":"2024-11-20T08:42:14+00:00","breadcrumb":{"@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hamravesh.com\/blog\/what-is-orm\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/#primaryimage","url":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp","contentUrl":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2024\/11\/What-is-ORM-scaled.webp","width":2560,"height":1206,"caption":"ORM \u0686\u06cc\u0633\u062a\u061f"},{"@type":"BreadcrumbList","@id":"https:\/\/hamravesh.com\/blog\/what-is-orm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0645\u062c\u0644\u0647 \u0647\u0645\u200c\u0631\u0648\u0634","item":"https:\/\/hamravesh.com\/blog\/"},{"@type":"ListItem","position":2,"name":"ORM \u0686\u06cc\u0633\u062a: \u0645\u0641\u0627\u0647\u06cc\u0645\u060c \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0645\u062b\u0627\u0644"}]},{"@type":"WebSite","@id":"https:\/\/hamravesh.com\/blog\/#website","url":"https:\/\/hamravesh.com\/blog\/","name":"\u0648\u0628\u0644\u0627\u06af \u0647\u0645\u200c\u0631\u0648\u0634","description":"\u0628\u0644\u0627\u06af \u0631\u0633\u0645\u06cc \u0647\u0645\u200c\u0631\u0648\u0634","publisher":{"@id":"https:\/\/hamravesh.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hamravesh.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/hamravesh.com\/blog\/#organization","name":"\u0647\u0645\u200c\u0631\u0648\u0634","url":"https:\/\/hamravesh.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2026\/03\/logo.svg","contentUrl":"https:\/\/hamravesh.com\/blog\/wp-content\/uploads\/2026\/03\/logo.svg","width":1,"height":1,"caption":"\u0647\u0645\u200c\u0631\u0648\u0634"},"image":{"@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/49550a45ffc0d9098ee296a3fc1c8915","name":"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/hamravesh.com\/blog\/#\/schema\/person\/image\/a069f4eb0a1c93c61efa59f918c39303","url":"https:\/\/secure.gravatar.com\/avatar\/38bae86a265e84fa66968f790bc6426d9de14c3156bdef88a0773675c63de46e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/38bae86a265e84fa66968f790bc6426d9de14c3156bdef88a0773675c63de46e?s=96&d=mm&r=g","caption":"\u0627\u0631\u0633\u0637\u0648 \u0639\u0628\u0627\u0633\u06cc"},"description":"Technical Writer - \u062f\u0631 \u062a\u0644\u0627\u0634 \u0628\u0631\u0627\u06cc \u0633\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0648 \u0647\u0645\u0647\u200c\u0641\u0647\u0645 \u06a9\u0631\u062f\u0646 \u0645\u0648\u0636\u0648\u0639\u0627\u062a \u062a\u062e\u0635\u0635\u06cc \u062d\u0648\u0632\u0647 Cloud \u0648 Computer Engineering","sameAs":["https:\/\/arastoo.net","https:\/\/www.linkedin.com\/in\/arastoo\/"],"jobTitle":"Technical Content Writer","url":"https:\/\/hamravesh.com\/blog\/author\/arastoo\/"}]}},"_links":{"self":[{"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/posts\/3910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/comments?post=3910"}],"version-history":[{"count":33,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/posts\/3910\/revisions"}],"predecessor-version":[{"id":4041,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/posts\/3910\/revisions\/4041"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/media\/4040"}],"wp:attachment":[{"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/media?parent=3910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/categories?post=3910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/tags?post=3910"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/hamravesh.com\/blog\/wp-json\/wp\/v2\/coauthors?post=3910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}