Search⌘ K
AI Features

Fetching, Adding, Updating, and Deleting Data

Explore how to perform essential database operations in AdonisJs by fetching, adding, updating, and deleting product data. Understand how to use model methods like Product.all(), findBy(), and save() to interact with the products table and maintain data integrity within your application.

Let’s look at how we can fetch, add, update, and delete data from a database.

Reading and

...