Markdown

CRUD

CRUD is the Acronym for Create, Read, Update, and Delete

The four basic operations that can be performed on persistent data in a database or other storage system.

  • Create: This operation adds new data to the system. In a database, it usually involves inserting a new row into a table.
  • Read: This operation retrieves existing data from the system. In a database, it usually involves querying the database to select specific rows or columns from a table.
  • Update: This operation modifies existing data in the system. In a database, it usually involves changing the values of one or more columns in a row.
  • Delete: This operation removes existing data from the system. In a database, it usually involves deleting a row from a table.

CRUD operations are fundamental to most applications that interact with data. They provide a way to manage and manipulate the application’s data to function.

In the context of RESTful APIs, CRUD operations are often mapped to HTTP methods:

  • Create: POST
  • Read: GET
  • Update: PUT or PATCH
  • Delete: DELETE

This allows applications to interact with data using standard HTTP requests, making integrating different systems and services easier.

Articles Tagged CRUD

View Additional Articles Tagged CRUD