Couchbase Lite
Objective-C API for iOS and Mac OS
Classes | Enumerations
CBLQuery.h File Reference
#import <Foundation/Foundation.h>

Go to the source code of this file.

Classes

class  CBLQuery
 Represents a query of a CouchbaseLite 'view', or of a view-like resource like _all_documents. More...
 
class  CBLLiveQuery
 A CBLQuery subclass that automatically refreshes the result rows every time the database changes. More...
 
class  CBLQueryEnumerator
 Enumerator on a CBLQuery's result rows. More...
 
class  CBLQueryRow
 A result row from a CouchbaseLite view query. More...
 

Enumerations

enum  CBLAllDocsMode { kCBLAllDocs, kCBLIncludeDeleted, kCBLShowConflicts, kCBLOnlyConflicts }
 
enum  CBLIndexUpdateMode { kCBLUpdateIndexBefore, kCBLUpdateIndexNever, kCBLUpdateIndexAfter }
 Query options to allow out-of-date results to be returned in return for faster queries. More...
 

Enumeration Type Documentation

Enumerator
kCBLAllDocs 

Normal behavior for all-docs query.

kCBLIncludeDeleted 

Will include rows for deleted documents.

kCBLShowConflicts 

Rows will indicate conflicting revisions.

kCBLOnlyConflicts 

Will only return rows for docs in conflict.

Query options to allow out-of-date results to be returned in return for faster queries.

Enumerator
kCBLUpdateIndexBefore 

Always update index if needed before querying (default)

kCBLUpdateIndexNever 

Don't update the index; results may be out of date.

kCBLUpdateIndexAfter 

Update index after querying (results may still be out of date)