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!
payload.collections[collectionSlug].Model
oh nice, thanks!
Star
Discord
online
Get dedicated engineering support directly from the Payload team..