From 977f23e0fb20151b94c4c992ded205cff48151bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=A4drich?= <11225821+shaedrich@users.noreply.github.com> Date: Wed, 11 Oct 2023 12:34:37 +0200 Subject: [PATCH] Add topic "CRUD" --- topics/crud/index.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 topics/crud/index.md diff --git a/topics/crud/index.md b/topics/crud/index.md new file mode 100644 index 00000000000..1a700d3ae26 --- /dev/null +++ b/topics/crud/index.md @@ -0,0 +1,17 @@ +--- +display_name: CRUD +aliases: crudl, +short_description: CRUD is an acronym that stands for create, read, update and delete as persistent storage operations. +topic: crud +related: sql, database, query, rest +wikipedia_url: https://en.wikipedia.org/wiki/CRUD +created_by: James Martin +released: 1983 +--- +**CRUD** is an acronym that stands for create, read, update and delete in the context of database queries or HTTP verbs in case of REST APIs. +| CRUD | SQL | HTTP | +|-|-|-| +| **C**reate | `INSERT` | `POST` | +| **R**ead | `SELECT` | `GET` | +| **U**pdate | `UPDATE` | `PUT` to replace, `PATCH` to modify | +| **D**elete | `DELETE` | `DELETE` |