-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
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)
michie1
Metadata
Metadata
Assignees
Labels
No labels