---
title: "Discussion on \"Auto-generate models for Sequelize using sequelize-auto\" | Hashnode"
description: "Discussion on \"Auto-generate models for Sequelize using sequelize-auto\". Writing database queries without the model like below\nSELECT * FROM your_table_name WHERE column_name = 'some_value';\n\nhas many issues like adding proper data type validation etc. to get data from the same database table with different conditions, yo..."
url: "https://hashnode.com/posts/auto-generate-models-for-sequelize-using-sequelize-auto/6473314877ad5ce75dafa9d1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Auto-generate models for Sequelize using sequelize-auto](https://ratneshpandey.hashnode.dev/auto-generate-models-for-sequelize-using-sequelize-auto?utm_source=hashnode&utm_medium=feed)

Writing database queries without the model like below SELECT \* FROM your\_table\_name WHERE column\_name = 'some\_value'; has many issues like adding proper data type validation etc. to get data from the same database table with different conditions, yo...

May 28, 2023 · 4 min read · ratneshpandey.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#sequelize](https://hashnode.com/tag/sequelize)
-   [#schema](https://hashnode.com/tag/schema)
-   [#databases](https://hashnode.com/tag/databases)
-   [#orm](https://hashnode.com/tag/orm)

## Written by

[Ratnesh Pandey](https://hashnode.com/@ratnesh341)

@ratnesh341

  
[View profile](https://hashnode.com/@ratnesh341)

Backend developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
