Wrap this. You can wrap strings in objc by having the new string be the first thing on the next line:

```objc
NSString *sql = @"SELECT docs.docid, COUNT(*) FROM docs,revs"
                @"WHERE revs.doc_id = docs.doc_id"
                // and so on
```