If you don't follow the issue template, your issue may be closed.
Please note this is an issue tracker, not a support forum.
For general questions, please use StackOverflow or Slack.
-->
## What are you doing?
<!-- Post a minimal, self-contained code sample that reproduces the issue, including models and associations -->
## Issue Description
### What are you doing?
<!--
Post a MINIMAL, SELF-CONTAINED code that reproduces the issue. It must be runnable by simply copying and pasting into an isolated JS file, except possibly for the database connection configuration.
Check http://sscce.org/ or https://stackoverflow.com/help/minimal-reproducible-example to learn more about SSCCE/MCVE/reprex.
-->
```js
// code here
// MINIMAL, SELF-CONTAINED code here (SSCCE/MCVE/reprex)
```
**To Reproduce**
Steps to reproduce the behavior:
1. Define models X, Y, ...
2. Run the following
3. See error
## What do you expect to happen?
### What do you expect to happen?
<!-- Explain what behavior you wanted/expected. You may include an output. -->
_I wanted Foo!_
## What is actually happening?
_But the output was bar!_
_Output, either JSON or SQL_
## Environment
Dialect:
-[] mysql
-[] postgres
-[] sqlite
-[] mssql
-[] any
Dialect **library** version: XXX
Database version: XXX
Sequelize version: XXX
Node Version: XXX
OS: XXX
If TypeScript related: TypeScript version: XXX
Tested with latest release:
-[] No
-[] Yes, specify that version:
### What is actually happening?
<!-- Show what happened. -->
_The output was Bar!_
```
Output here
```
### Additional context
Add any other context or screenshots about the feature request here.
### Environment
- Sequelize version: XXX <!-- run `npm list sequelize` to obtain this -->
- Node.js version: XXX <!-- run `node -v` to obtain this -->
- Operating System: XXX
- If TypeScript related: TypeScript version: XXX
## Issue Template Checklist
<!-- Please answer the questions below. If you don't, your issue may be closed. -->
### How does this problem relate to dialects?
<!-- Choose one. -->
-[] I think this problem happens regardless of the dialect.
-[] I think this problem happens only for the following dialect(s): <!-- Put dialect(s) here -->
-[] I don't know, I was using PUT-YOUR-DIALECT-HERE, with connector library version XXX and database version XXX
### Would you be willing to resolve this issue by submitting a Pull Request?
<!-- Remember that first contributors are welcome! -->
-[] Yes, I have the time and I know how to start.
-[] Yes, I have the time but I don't know how to start, I would need guidance.
-[] No, I don't have the time, although I believe I could do it if I had the time...
-[] No, I don't have the time and I wouldn't even know how to start.
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
<!--
If you don't follow the issue template, your issue may be closed.
Please note this is an issue tracker, not a support forum.
For general questions, please use StackOverflow or Slack.
-->
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
## Issue Description
**Why should this be in Sequelize**
Short explanation why this should be part of Sequelize rather than a separate package.
### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Example: I'm always frustrated when [...]
### Describe the solution you'd like
A clear and concise description of what you want to happen. How can the requested feature be used to approach the problem it's supposed to solve?
```js
// If applicable, add a code snippet showing how your feature would be used in a real use-case
```
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
### Why should this be in Sequelize
Short explanation why this should be part of Sequelize rather than a separate package.
**Usage example**
How can the requested feature be used to approach the problem it's supposed to solve.
### Describe alternatives/workarounds you've considered
A clear and concise description of any alternative solutions or features you've considered. If any workaround exists to the best of your knowledge, include it here.
**Additional context**
### Additional context
Add any other context or screenshots about the feature request here.
## Issue Template Checklist
<!-- Please answer the questions below. If you don't, your issue may be closed. -->
### Is this issue dialect-specific?
-[] No. This issue is relevant to Sequelize as a whole.
-[] Yes. This issue only applies to the following dialect(s): XXX, YYY, ZZZ
### Would you be willing to resolve this issue by submitting a Pull Request?
<!-- Remember that first contributors are welcome! -->
-[] Yes, I have the time and I know how to start.
-[] Yes, I have the time but I don't know how to start, I would need guidance.
-[] No, I don't have the time, although I believe I could do it if I had the time...
-[] No, I don't have the time and I wouldn't even know how to start.