Classes
The following classes are available globally.
-
A compiled database query, similar to a N1QL or SQL query.
See moreDeclaration
Swift
public class PredicateQuery
-
A query data source. used for specifiying the data source for your query. The current data source supported is the database.
See moreDeclaration
Swift
public class DataSource
-
A database data source. You could also create an alias data source by calling the as(alias) method with a given alias name.
See moreDeclaration
Swift
public class DatabaseSource: DataSource
-
Fragment provides read and write access to data value. Fragment also provides subscript access by either key or index to the nested values which are wrapped by Fragment objects.
See moreDeclaration
Swift
public class Fragment: ReadOnlyFragment, DictionaryFragment, ArrayFragment
-
A row of data generated by a Query.
See moreDeclaration
Swift
public class QueryRow
-
A replicator for replicating document changes between a local database and a target database. The replicator can be bidirectional or either push or pull. The replicator can also be one-short or continuous. The replicator runs asynchronously, so observe the status property to be notified of progress.
See moreDeclaration
Swift
public final class Replicator
-
DocumentFragment provides access to a document object. DocumentFragment also provides subscript access by either key or index to the data values of the document which are wrapped by Fragment objects. */
See moreDeclaration
Swift
public class DocumentFragment: DictionaryFragment
-
ReadOnlyFragment provides readonly access to data value. ReadOnlyFragment also provides subscript access by either key or index to the nested values which are wrapped by ReadOnlyFragment objects.
See moreDeclaration
Swift
public class ReadOnlyFragment: ReadOnlyFragmentProtocol, ReadOnlyArrayFragment, ReadOnlyDictionaryFragment
-
A database query. A Query instance can be constructed by calling one of the select class methods.
See moreDeclaration
Swift
public class Query
-
DictionaryObject provides access to dictionary data.
See moreDeclaration
Swift
public class DictionaryObject: ReadOnlyDictionaryObject, DictionaryProtocol
-
ReadOnlyDictionaryObject provides readonly access to dictionary data.
See moreDeclaration
Swift
public class ReadOnlyDictionaryObject: ReadOnlyDictionaryProtocol
-
A LiveQuery automatically observes database changes and re-run the query that the LiveQuery object is created from. If there is a new query result or an error occurred, the LiveQuery object will report the changed result via the added listener blocks.
See moreDeclaration
Swift
public class LiveQuery
-
ReadOnlyArrayObject provides readonly access to array data.
See moreDeclaration
Swift
public class ReadOnlyArrayObject: ReadOnlyArrayProtocol
-
An Expression represents an expression used for constructing a query statement.
See moreDeclaration
Swift
public final class Expression
-
A Couchbase Lite document.
See moreDeclaration
Swift
public class Document : ReadOnlyDocument, DictionaryProtocol
-
An OrderBy represents a query ORDER BY clause by sepecifying properties or expressions t hat the result rows should be sorted by. A CBLQueryOrderBy can be construct as a single CBLQuerySortOrder instance with a propery name or an expression instance or as a chain of multiple CBLQueryOrderBy instances.
See moreDeclaration
Swift
public class OrderBy: Query
-
Undocumented
See more
-
ArrayObject provides access to array data.
See moreDeclaration
Swift
public class ArrayObject: ReadOnlyArrayObject, ArrayProtocol
-
Readonly version of the Document.
See moreDeclaration
Swift
public class ReadOnlyDocument : ReadOnlyDictionaryObject