(
domainId: string, docType: K, query?: Filter<DocType[K]>,
)
| 169 | } |
| 170 | |
| 171 | export function count<K extends keyof DocType>( |
| 172 | domainId: string, docType: K, query?: Filter<DocType[K]>, |
| 173 | ) { |
| 174 | return coll.countDocuments({ ...query, docType, domainId }); |
| 175 | } |
| 176 | |
| 177 | export function countStatus<K extends keyof DocStatusType>( |
| 178 | domainId: string, docType: K, query?: Filter<DocStatusType[K]>, |
nothing calls this directly
no outgoing calls
no test coverage detected