Classes

The following classes are available globally.

  • The CouchDBClient represents a connection to a CouchDB server. It is initialized with your ConnectionProperties and handles the creation, retrieval and deletion of CouchDB databases.

    Usage Example:

    let conProperties = ConnectionProperties(
        host: "127.0.0.1",              // http address
        port: 5984,                     // http port
        secured: false,                 // https or http
        username: "<CouchDB-username>", // admin username
        password: "<CouchDB-password>"  // admin password
    )
    let couchDBClient = CouchDBClient(connectionProperties: conProperties)
    
    See more

    Declaration

    Swift

    public class CouchDBClient
  • The Database class is used to make HTTP requests to the corresponding CouchDB database. This class can make CRUD (Create, Retrieve, Update, Delete) requests for:

    See more

    Declaration

    Swift

    public class Database