I downloaded TouchDB, a "lightweight Apache CouchDB-compatible database engine suitable for embedding into mobile or desktop apps", which gives me a bunch of .framework folders (CouchCocoa.framework, TouchDB.framework and…
I've a "best practice" question on CouchDB (actually I'm using TouchDB a CouchDB port to iOS), when using CouchCocoa framework.
I need to delete a bunch of documents that I get via a query.
I know 3 ways to do this:
1) put all the documents into an…
I have a document properties downloaded from a view, so I have the actual JSON from the doc, including the ID and Rev ID. I don't have the actual CouchDocument, though.
The document has an attachment, and I know the name of it. I'm trying to…
Steps to reproduce:
Create a new single page application in swift using Xcode 6 beta 5
Add TouchDB.framework and CouchCocoa.framework to project by following this steps
Add a new swift file to project and type
Create a bridging header file and…
I was trying to wrap my head around the difference between documentID and sourceDocumentID but just couldn't. Should I access the documentID of the row or sourceDocumentID? I'm trying to implement pagination in my iOS app (i.e something similar to…
I've been working on Couchbase-Lite (aka TouchDB) for an iOS app. Meanwhile, I was trying to figure out what's new in CBL and faced following question:
@property (readonly) NSURL* bodyURL; //CBLAttachment
and
@property (readonly) NSURL*…
Im new to couchbase and have been struggeling with an error for hours.
I create a user_profile_<-insert guid here-> document and save it successfully to local mobile couchbase db
with the following test data:
{
"_id" =…
I'm trying to avoid revisions building up in my CouchDB, and also so I can use TouchDB's "bulk pull" for replication (it bulk-pulls on all 1st-revs.) Would it be bad practice to just delete a document, and recreate it rather than modifying it, in…
I'm using Cloudant and I'm struggling to pull/replicate 600 documents from server to my iPhone. First, it's pretty slow because it has to go one-document-at-a-time, and Second Cloudant was giving me "timeouts" after the 100th-or-so REST request. …