couchdb_connector v0.4.0 Couchdb.Connector.Types
The types module contains only type definitions that other modules can make use of by simply using this modules: ‘use Couchdb.Connector.Types’
Summary
Types
Username and password for basic authentication
Database properties: host, port, protocol (http|https), database name
HTTP headers are modeled as a list of name-value tuples
CouchDB user role is just a string, user_roles a list of strings
Design name, view name and lookup key are often used together in view queries so it makes sense to wrap them in a type
Types
Username and password for basic authentication
db_properties()
db_properties :: %{protocol: String.t, hostname: String.t, database: String.t, port: non_neg_integer}
Database properties: host, port, protocol (http|https), database name
CouchDB user role is just a string, user_roles a list of strings.