How I can retrieve data from Couchbase to iPhone without storing
I'm making social network and want to get info from Couchbase Server without sync function or have a possibility to clear local data in Couchbase Lite.
As you can understand it will grows, any sync rules won't work.
Please, advice how to do temporary data retrieving or how to clear local database without deleting document from server.
This is a common use case that many applications have done before Couchbase Mobile (Lite+Sync+Gateway), the best way to achieve this is simply to create your own REST service layer at the top of your Couchbase cluster.
It is quite easy to create the REST layer using your favorite programming language, using the Couchbase SDK available here: http://www.couchbase.com/communities/all-client-libraries
Does this make sense?