What's the input for a fetchCount call?

#1

I want to provide a filter to a fetchCount call. The input seems to be a spec. However, I can’t find a type called FetchCountSpec. What spec is it?

XXX.fetchCount
ƒ anonymous(spec
) {...}
0 Likes

#2

It is a FetchFilterSpec, which is a type that FetchSpec mixes in

See the documentation for Persistable.fetchCount:
c3ShowFunc(Persistable, 'fetchCount')

All the functions and their argument types are well-documented

0 Likes