---
title: "Narayana M V L (@narayana85) | Hashnode"
description: "Talks About Coding. Read the latest articles by Narayana M V L on Hashnode."
url: "https://hashnode.com/@narayana85"
---

@narayana85

# Narayana M V L

@narayana85 · Hyderabad, India · Joined November 2023

Talks About Coding

## Comments

[Nice Explanation Adhi, Just want to Add support for custom where clauses: async destroy(data, whereClause = {}) { const response = await this.model.destroy({ where: { id: data, ...whereClause, }, }); if (!response) { throw new AppError('Not able to find the resource', StatusCodes.NOT\_FOUND); } return response; } This allows users to specify additional conditions for deletion besides the primary key.](https://hashnode.com/posts/crud-operations-using-node-js/6578475067bb0cc3a586c8a9/comment/6579475fa7af0fb6a9071cae)

Comment · Article · Dec 13, 2023 · [CRUD Operations using Node JS.](https://hashnode.com/posts/crud-operations-using-node-js/6578475067bb0cc3a586c8a9)
