πŸ”β­What are CRUD operations? (Create, Read, Update, Delete)

R

RenΓ§ber AKMAN

Guest
CRUD refers to the four basic operations that can be performed on a database or an application: Create, Read, Update, Delete. These operations form the foundation of almost all software and data management systems.

Create (Oluştur) ✨ Used to add new data. πŸ“Œ Example: When a user fills out and submits a registration form, this operation adds a new user to the database.

Read (Oku) πŸ“– Used to read or retrieve existing data. πŸ“Œ Example: Running a query to view the list of users is a Read operation.

Update (GΓΌncelle) πŸ”„ Used to modify existing data. πŸ“Œ Example: Changing a user's email address is an Update operation.

Delete (Sil) πŸ—‘οΈ Used to remove existing data from the system. πŸ“Œ Example: Permanently deleting a user account is a Delete operation.

βœ… In short:

Create β†’ Add new data

Read β†’ Retrieve/view data

Update β†’ Modify existing data

Delete β†’ Remove data

πŸ’‘ Pro Tip: CRUD operations are often mapped to HTTP methods:

Create β†’ POST

Read β†’ GET

Update β†’ PUT/PATCH

Delete β†’ DELETE

This way, both database and REST API logic are built upon the same core principles.

Continue reading...
 


Join 𝕋𝕄𝕋 on Telegram
Channel PREVIEW:
Back
Top