Couchbase Lite C
Couchbase Lite C API
|
Errors | Types and constants for communicating errors from API calls |
Other Types | |
Reference Counting | Couchbase Lite "objects" are reference-counted; the functions below are the shared retain and release operations |
Database | A CBLDatabase is both a filesystem object and a container for documents |
Documents | A CBLDocument is essentially a JSON object with an ID string that's unique in its database |
Blobs | A CBLBlob is a binary data blob associated with a document |
Queries | A CBLQuery represents a compiled database query |
Replication | A replicator is a background task that synchronizes changes between a local database and another database on a remote server (or on a peer device, or even another local database.) |
Encryptables | A CBLEncryptable is a value to be encrypted by the replicator when a document is pushed to the remote server |
Listeners | Every API function that registers a listener callback returns an opaque token representing the registered callback |
Logging | Managing messages that Couchbase Lite logs at runtime |
Fleece CoreFoundation and Objective-C Helpers | |
Basic Fleece Data Types | |
Reading Fleece Data | |
Converting Fleece To JSON | These are convenience functions that directly return JSON-encoded output |
Fleece Value Accessors | The core Fleece data type is FLValue: a reference to a value in Fleece-encoded data |
Fleece Arrays | FLArray is a "subclass" of FLValue, representing values that are arrays |
Fleece Dictionaries | |
Fleece Deep Iterator | A deep iterator traverses every value contained in a dictionary, in depth-first order |
Fleece Paths | An FLKeyPath Describes a location in a Fleece object tree, as a path from the root that follows dictionary properties and array elements |
Shared Keys | FLSharedKeys represents a mapping from short strings to small integers in the range [0...2047] |
Fleece Encoders | An FLEncoder generates encoded Fleece or JSON data |
Fleece Delta Compression | These functions implement a fairly-efficient "delta" encoding that encapsulates the changes needed to transform one Fleece value into another |
Value Slots | An FLSlot is a temporary reference to an element of a mutable Array/Dict; its only purpose is to let you store a value into it, using the FLSlot_... functions |
Slices |