How to exclude '_sync:rev' documents

Perfect, thanks.

I’m not creating views via the sync gateway - as discussed elsewhere views in the sync-gateway aren’t supported feature due to performance concerns.