---
title: "Discussion on \"Writing a generic helper function for handling query parameters in node js(sequelize and mongoose)\" | Hashnode"
description: "Discussion on \"Writing a generic helper function for handling query parameters in node js(sequelize and mongoose)\". Currently, I am working on an  API  using node js, express, and PostgresSQL, sequelize  as the  ORM.\nwriting an API that will be consumed by other people needs to be written in a way that caters to everyone's needs.\nI picked the tickets to work on fo..."
url: "https://hashnode.com/posts/writing-a-generic-helper-function-for-handling-query-parameters-in-node-jssequelize-and-mongoose/5f37e7650801bf3f76e5f562"
---

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

Discussion

# [Writing a generic helper function for handling query parameters in node js(sequelize and mongoose)](https://fawaskareem.hashnode.dev/writing-a-generic-helper-function-for-handling-query-parameters-in-node-jssequelize-and-mongoose?utm_source=hashnode&utm_medium=feed)

Currently, I am working on an API using node js, express, and PostgresSQL, sequelize as the ORM. writing an API that will be consumed by other people needs to be written in a way that caters to everyone's needs. I picked the tickets to work on fo...

Aug 15, 2020 · 6 min read · fawaskareem.hashnode.dev  
Updated Aug 16, 2020  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#mongoose](https://hashnode.com/tag/mongoose)
-   [#rest-api](https://hashnode.com/tag/rest-api)

## Written by

[Fawas Kareem](https://hashnode.com/@Phawazzzy)

@Phawazzzy · Lagos, Nigeria

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

Node.js Backend developer, Flutter mobile developer

## Responses 1

Markdown supported · ⌘↵ to post

[Nextwebb](https://hashnode.com/@nextwebb)

[Aug 15, 2020](https://hashnode.com/posts/writing-a-generic-helper-function-for-handling-query-parameters-in-node-jssequelize-and-mongoose/5f37e7650801bf3f76e5f562/comment/5f3831690801bf3f76e5f7de)

Nice article 👌

[Fawas Kareem](https://hashnode.com/@Phawazzzy)

[Aug 15, 2020](https://hashnode.com/posts/writing-a-generic-helper-function-for-handling-query-parameters-in-node-jssequelize-and-mongoose/5f37e7650801bf3f76e5f562/comment/5f3831690801bf3f76e5f7de#reply-5f383601c4d5973f55c90a8c)

thanks [Peterson Oaikhenah](https://hashnode.com/@nextwebb)
