`withCount` should be against `this` or against `q...
# box-products
d
withCount
should be against
this
or against
qb
? (quick6)
Copy code
function scopeWithSomeCountOf( qb ) {
   this.withCount(...) // ?
   qb.withCount(...)  // ?
}
i'mma do what the robot tells me
👏🏻 1
👍 1