We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently the CountOptions look like this:
export interface CountOptions extends Logging, Transactionable, Filterable, Projectable { /** * Include options. See `find` for details */ include?: Includeable[] /** * Apply COUNT(DISTINCT(col)) */ distinct?: boolean /** * GROUP BY in sql * Used in conjunction with `attributes`. * @see Projectable */ group?: GroupOption }
However there is no 'paranoid' attribute, but it exists in the implementation. Please add:
paranoid?: boolean
It's likely that other calls are affected, too.
Current workaround:
YourModel.count({paranoid: false} as any)
(Counts all rows, also the ones deleted in paranoid mode)
The text was updated successfully, but these errors were encountered:
Please add:
Just open a PR ;)
Sorry, something went wrong.
Opened PR :)
fix types#163
978ccd3
No branches or pull requests
Currently the CountOptions look like this:
However there is no 'paranoid' attribute, but it exists in the implementation. Please add:
It's likely that other calls are affected, too.
Current workaround:
(Counts all rows, also the ones deleted in paranoid mode)
The text was updated successfully, but these errors were encountered: