{"id":279,"date":"2022-10-17T16:51:13","date_gmt":"2022-10-17T16:51:13","guid":{"rendered":"https:\/\/www.devopstrainer.in\/blog\/?p=279"},"modified":"2022-10-17T16:56:14","modified_gmt":"2022-10-17T16:56:14","slug":"what-is-curd-operations","status":"publish","type":"post","link":"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/","title":{"rendered":"What is CURD operations ?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">CURD = CREATE-UPDATE-READ-DELETE<\/h2>\n\n\n\n<p>These four operations are used to manipulate the data in database, &nbsp;users must be able to create data, read data, update or edit the data, and delete the data. <strong>curd<\/strong>  sometimes used to describe user interface conventions that facilitate viewing, searching, and changing information using computer-based forms and reports.<\/p>\n\n\n\n<p><strong>curd<\/strong> is extensively used in database applications. This includes Relational Database Management Systems<strong> <\/strong>(RDBMS) like oracle, mysql, and postgresql. It also includes nosql databases like mongodb, apache cassandra, and AWS dynamodb.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">CREATE<\/h2>\n\n\n\n<p><strong>create<\/strong>\u00a0operation adds a new record to a database, in RDBMS, a database table row are called record and  columns are called fields. Create operation adds one or more new records with distinct field values in a table. in sql database, to create is to\u00a0Insert and in a nosql database like mongodb, you create with the\u00a0<code>insert()<\/code>\u00a0method.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">UPDATE<\/h2>\n\n\n\n<p><strong>update<\/strong>\u00a0is the operation that allows you to modify existing data. That is, editing the data. unlike\u00a0<code>READ<\/code>, the\u00a0<code>UPDATE<\/code>\u00a0operation alters the existing data by making changes to it.<\/p>\n\n\n\n<p>In sql database, you use\u00a0<code>Update<\/code>\u00a0to Update an entry. In a nosql database like mongodb, you can implement an update feature with the\u00a0<code>FindByIdAndUpdate()<\/code>\u00a0method.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">READ<\/h2>\n\n\n\n<p>The\u00a0<strong>read<\/strong>\u00a0operation means getting access to the entries in the database. that is, seeing it. Again, the entry could be anything from user information, This access could mean the user getting access to the created entries right after creating them, or searching for them.<\/p>\n\n\n\n<p>in sql database, to read is to&nbsp;<code>S<\/code>elect&nbsp;an entry. In a nosql database like mongodb, you read with the&nbsp;<code>find()<\/code>&nbsp;or&nbsp;<code>findById()<\/code>&nbsp;method.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">DELETE<\/h2>\n\n\n\n<p><strong>delete<\/strong> operations allow the user to remove records from the database or delete operation is used to delete or remove any existing records from the table. one should be much more careful while executing the <strong>delete<\/strong> operation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CURD = CREATE-UPDATE-READ-DELETE These four operations are used to manipulate the data in database, &nbsp;users must be able to create data, read data, update or edit the data, and delete&hellip;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-279","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is CURD operations ? - DevOps | SRE | DevSecOps<\/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:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is CURD operations ? - DevOps | SRE | DevSecOps\" \/>\n<meta property=\"og:description\" content=\"CURD = CREATE-UPDATE-READ-DELETE These four operations are used to manipulate the data in database, &nbsp;users must be able to create data, read data, update or edit the data, and delete&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps | SRE | DevSecOps\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-17T16:51:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-17T16:56:14+00:00\" \/>\n<meta name=\"author\" content=\"shivam\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"shivam\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/\"},\"author\":{\"name\":\"shivam\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53\"},\"headline\":\"What is CURD operations ?\",\"datePublished\":\"2022-10-17T16:51:13+00:00\",\"dateModified\":\"2022-10-17T16:56:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/\"},\"wordCount\":311,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/\",\"url\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/\",\"name\":\"What is CURD operations ? - DevOps | SRE | DevSecOps\",\"isPartOf\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#website\"},\"datePublished\":\"2022-10-17T16:51:13+00:00\",\"dateModified\":\"2022-10-17T16:56:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.devopstrainer.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is CURD operations ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#website\",\"url\":\"https:\/\/www.devopstrainer.in\/blog\/\",\"name\":\"DevOps | SRE | DevSecOps\",\"description\":\"Automation means Cost, Quality, Time\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.devopstrainer.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53\",\"name\":\"shivam\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/be603b13110d1423e9358d9f4b8901acd56c4239bca1b26b0225d217c2a2f1eb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/be603b13110d1423e9358d9f4b8901acd56c4239bca1b26b0225d217c2a2f1eb?s=96&d=mm&r=g\",\"caption\":\"shivam\"},\"url\":\"https:\/\/www.devopstrainer.in\/blog\/author\/shivam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is CURD operations ? - DevOps | SRE | DevSecOps","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:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/","og_locale":"en_US","og_type":"article","og_title":"What is CURD operations ? - DevOps | SRE | DevSecOps","og_description":"CURD = CREATE-UPDATE-READ-DELETE These four operations are used to manipulate the data in database, &nbsp;users must be able to create data, read data, update or edit the data, and delete&hellip;","og_url":"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/","og_site_name":"DevOps | SRE | DevSecOps","article_published_time":"2022-10-17T16:51:13+00:00","article_modified_time":"2022-10-17T16:56:14+00:00","author":"shivam","twitter_card":"summary_large_image","twitter_misc":{"Written by":"shivam","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/#article","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/"},"author":{"name":"shivam","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53"},"headline":"What is CURD operations ?","datePublished":"2022-10-17T16:51:13+00:00","dateModified":"2022-10-17T16:56:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/"},"wordCount":311,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/","url":"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/","name":"What is CURD operations ? - DevOps | SRE | DevSecOps","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#website"},"datePublished":"2022-10-17T16:51:13+00:00","dateModified":"2022-10-17T16:56:14+00:00","author":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53"},"breadcrumb":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-curd-operations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.devopstrainer.in\/blog\/"},{"@type":"ListItem","position":2,"name":"What is CURD operations ?"}]},{"@type":"WebSite","@id":"https:\/\/www.devopstrainer.in\/blog\/#website","url":"https:\/\/www.devopstrainer.in\/blog\/","name":"DevOps | SRE | DevSecOps","description":"Automation means Cost, Quality, Time","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.devopstrainer.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53","name":"shivam","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/be603b13110d1423e9358d9f4b8901acd56c4239bca1b26b0225d217c2a2f1eb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/be603b13110d1423e9358d9f4b8901acd56c4239bca1b26b0225d217c2a2f1eb?s=96&d=mm&r=g","caption":"shivam"},"url":"https:\/\/www.devopstrainer.in\/blog\/author\/shivam\/"}]}},"_links":{"self":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":6,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/279\/revisions"}],"predecessor-version":[{"id":285,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/279\/revisions\/285"}],"wp:attachment":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/media?parent=279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/categories?post=279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/tags?post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}