Couchbase Sync Gateway 2

@pablo.pinargote, you’ve got two good points there. Me and my team started using SyncGateway (SG) even before 1.5, in a time when it was encouraged to go always just through SG’s REST API to write directly to the buckets. I am kind of happy that they want to finish this restriction, nevertheless it seems there is still job to do (as you yourself have discovered).

@priya.rajagopal, i read your post when it was still quite fresh (end last year), and then i was disappointed by the fact that “there is no way to query for the document sync metadata via the server’s N1QL interface”. Now it is almost one year gone since your original post and SG has gone from 1.5 to 2.0. Has something changed in the mean time? are we now able to get the sync metadata via the server’s N1QL interface? Is this happening soon? Personally i find it is a pity we have to use the REST API instead of the CB SDK since there we have no access to N1QL…