We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f0c137 commit 2988f9eCopy full SHA for 2988f9e
src/service-module/types.ts
@@ -246,6 +246,17 @@ export interface ModelStatic extends EventEmitter {
246
*/
247
findInStore<M extends Model = Model>(params?: Params): Paginated<M>
248
249
+ /**
250
+ * A proxy for the `count` action
251
+ * @param params Find params
252
+ */
253
+ count<M extends Model = Model>(params?: Params): Promise<M[] | Paginated<M>>
254
255
+ * A proxy for the `count` getter
256
257
258
+ countInStore<M extends Model = Model>(params?: Params): Paginated<M>
259
+
260
/**
261
* A proxy for the `get` action
262
* @param id ID of record to retrieve
0 commit comments