Qe do not currently explicitly support the notion of operator methods, things like common DB methods such as count, sum etc. So things like "count the number of friends" would have to be done via application-side logic on a find action.
Qe does allow developing support for a custom countaction (the .do field) - but this would need to be manually implemented in a processing adapter (as it would lie outside the default implementation). Furthermore the Qe .meta field enables embedding arbitrary directives that can be processed by Qe API.
Leaving this ticket open for now - example adapter implementations would be handy.
Qe do not currently explicitly support the notion of operator methods, things like common DB methods such as
count
,sum
etc. So things like "count the number of friends" would have to be done via application-side logic on afind
action.Qe does allow developing support for a custom
count
action (the.do
field) - but this would need to be manually implemented in a processing adapter (as it would lie outside the default implementation). Furthermore the Qe.meta
field enables embedding arbitrary directives that can be processed by Qe API.Leaving this ticket open for now - example adapter implementations would be handy.