Loopback Model - add a count field for a hasMany relation Model

Viewed 1064

Is there a way to count the number of instance of a related model, without using an include on the filter?

I already found loopback-counts-mixin, but I am hoping that there is a native way of doing it.

0 Answers
Related