Does N1QL create revisions?

Does a N1QL UPDATE, CREATE, OR DELETE statement trigger a DCP change event that is propagated to sync gateway? I’m trying to figure out if a N1QL change can automatically generate a revision on the related doc.

Hi, N1QL modify the bucket directly without going through the Sync Gateway so my guess is it won’t work as you expect.