I have some documents in my local Couchbase database that each have a channel set like “25”.
On iOS in Objective C I then try to have a filter to ONLY pull the data for that channel down… My goal is to assign a channel ID to each user that signup in the application so that i can only pull there records down as part of sync process.
What exact version of the Sync Gateway and Couchbase Lite are you running? The document dump you included looks wrong, in a way that reminds me of a bug that’s been fixed.
I upgraded to latest Couchbase server 2.5.1 and latest Sync Gateway from Github that I build manually.
Still having this issue. Document below where I want to filter the pull request from Objective C iOS to 28.
I did notice the following error in the sync gateway console:
08:47:25.552599 WARNING: Error unmarshaling doc “74C5D497-2F65-499F-BF72-6BCC6316307C”: json: cannot unmarshal string into Go value of type []string – db.(*document).Unmar