There doesn't seem to be a way to do this -- will this ever be possible?
Would be useful to get the database connection to do more complex aggregations for instance
You can do it!
oh nice, thanks!
Get help straight from the Payload team with an Enterprise License.